~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Andrew Bennetts
  • Date: 2007-04-19 14:55:20 UTC
  • mfrom: (2404.1.1 faster-tests)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: andrew.bennetts@canonical.com-20070419145520-3j94u46y5zfh0ybq
Disconnect RemoteTransports in some tests to avoid tripping up test_strace with leftover threads from previous tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        # make a branch that can be opened over the smart transport
55
55
        self.local_wt = BzrDir.create_standalone_workingtree('.')
56
56
 
 
57
    def tearDown(self):
 
58
        self.transport.disconnect()
 
59
        tests.TestCaseWithTransport.tearDown(self)
 
60
 
57
61
    def test_is_readonly(self):
58
62
        # XXX: this is a poor way to test RemoteTransport, but currently there's
59
63
        # no easy way to substitute in a fake client on a transport like we can