~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2010-02-11 09:21:45 UTC
  • mto: (5029.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5030.
  • Revision ID: v.ladeuil+lp@free.fr-20100211092145-drh33z43szccfswy
Move MemoryServer back into bzrlib.transport.memory as it's needed as soon as a MemoryTransport is used. Add a NEWS entry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
from bzrlib.tests import (
24
24
    features,
25
25
    stub_sftp,
26
 
    test_server,
27
26
    )
28
 
 
 
27
from bzrlib.transport import memory
29
28
 
30
29
class SelfTestPatch:
31
30
 
84
83
        # Test that we can pass a transport to the selftest core - memory
85
84
        # version.
86
85
        params = self.get_params_passed_to_core('selftest --transport=memory')
87
 
        self.assertEqual(test_server.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')