~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-01-08 03:35:09 UTC
  • mfrom: (4934.3.4 cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20100108033509-5dp440ermqsavlhr
(mbp) rename Server.setUp and tearDown to start_server and stop_server

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):