~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

  • Committer: Andrew Bennetts
  • Date: 2010-01-13 23:16:20 UTC
  • mfrom: (4957 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4960.
  • Revision ID: andrew.bennetts@canonical.com-20100113231620-n6in2yjib2v6z03g
MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
    def test_abspath_root_sibling_server(self):
193
193
        from bzrlib.transport.sftp import SFTPSiblingAbsoluteServer
194
194
        server = SFTPSiblingAbsoluteServer()
195
 
        server.setUp()
 
195
        server.start_server()
196
196
        try:
197
197
            transport = get_transport(server.get_url())
198
198
            self.assertFalse(transport.abspath('/').endswith('/~/'))
199
199
            self.assertTrue(transport.abspath('/').endswith('/'))
200
200
            del transport
201
201
        finally:
202
 
            server.tearDown()
 
202
            server.stop_server()
203
203
 
204
204
 
205
205
class SFTPBranchTest(TestCaseWithSFTPServer):