/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import os
20
20
 
21
 
from bzrlib import (
 
21
from breezy import (
22
22
    tests,
23
23
    )
24
 
from bzrlib.tests import (
 
24
from breezy.tests import (
25
25
    features,
26
26
    )
27
 
from bzrlib.transport import memory
 
27
from breezy.transport import memory
28
28
 
29
29
class SelfTestPatch:
30
30
 
57
57
        # Test that we can pass a transport to the selftest core - sftp
58
58
        # version.
59
59
        self.requireFeature(features.paramiko)
60
 
        from bzrlib.tests import stub_sftp
 
60
        from breezy.tests import stub_sftp
61
61
        params = self.get_params_passed_to_core('selftest --transport=sftp')
62
62
        self.assertEqual(stub_sftp.SFTPAbsoluteServer,
63
63
            params[1]["transport"])
123
123
        return (header,body,footer)
124
124
 
125
125
    def test_list_only(self):
126
 
        # check that bzr selftest --list-only outputs no ui noise
 
126
        # check that brz selftest --list-only outputs no ui noise
127
127
        def selftest(*args, **kwargs):
128
128
            """Capture the arguments selftest was run with."""
129
129
            return True