~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-11 10:01:21 UTC
  • mfrom: (5029.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100211100121-dqc7ja698m73k3tu
(vila) Move tests servers from bzrlib.transport to
        bzrlib.tests.test_server

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