/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_stacking.py

  • Committer: Martin Pool
  • Date: 2009-03-17 02:17:42 UTC
  • mfrom: (4151 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4189.
  • Revision ID: mbp@sourcefrog.net-20090317021742-fn5copqesgaiez71
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
        self.assertRevisionNotInRepository('mainline', new_branch_revid)
127
127
        self.assertRevisionInRepository('newbranch', new_branch_revid)
128
128
 
129
 
    # XXX: this helper probably belongs on TestCaseWithTransport
130
 
    def make_smart_server(self, path):
131
 
        smart_server = server.SmartTCPServer_for_testing()
132
 
        smart_server.setUp(self.get_server())
133
 
        remote_transport = get_transport(smart_server.get_url()).clone(path)
134
 
        self.addCleanup(smart_server.tearDown)
135
 
        return remote_transport
136
 
 
137
129
    def test_sprout_stacked_from_smart_server(self):
138
130
        if isinstance(self.branch_format, branch.BzrBranchFormat4):
139
131
            raise TestNotApplicable('Branch format 4 is not usable via HPSS.')