~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_selftest.py

  • Committer: Robert Collins
  • Date: 2010-04-08 04:34:03 UTC
  • mfrom: (5138 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5139.
  • Revision ID: robertc@robertcollins.net-20100408043403-56z0d07vdqrx7f3t
Update bugfix for 528114 to trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    features,
25
25
    stub_sftp,
26
26
    )
27
 
 
 
27
from bzrlib.transport import memory
28
28
 
29
29
class SelfTestPatch:
30
30
 
82
82
    def test_transport_set_to_memory(self):
83
83
        # Test that we can pass a transport to the selftest core - memory
84
84
        # version.
85
 
        import bzrlib.transport.memory
86
85
        params = self.get_params_passed_to_core('selftest --transport=memory')
87
 
        self.assertEqual(bzrlib.transport.memory.MemoryServer,
88
 
            params[1]["transport"])
 
86
        self.assertEqual(memory.MemoryServer, params[1]["transport"])
89
87
 
90
88
    def test_parameters_passed_to_core(self):
91
89
        params = self.get_params_passed_to_core('selftest --list-only')