/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_info.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:
20
20
import shutil
21
21
import sys
22
22
 
23
 
from bzrlib import (
 
23
from breezy import (
24
24
    branch,
25
25
    bzrdir,
26
26
    controldir,
31
31
    upgrade,
32
32
    urlutils,
33
33
    )
34
 
from bzrlib.tests.matchers import ContainsNoVfsCalls
35
 
from bzrlib.transport import memory
 
34
from breezy.tests.matchers import ContainsNoVfsCalls
 
35
from breezy.transport import memory
36
36
 
37
37
 
38
38
class TestInfo(tests.TestCaseWithTransport):
46
46
        location = self.get_url()
47
47
        out, err = self.run_bzr('info '+location, retcode=3)
48
48
        self.assertEqual(out, '')
49
 
        self.assertEqual(err, 'bzr: ERROR: Not a branch: "%s".\n' % location)
 
49
        self.assertEqual(err, 'brz: ERROR: Not a branch: "%s".\n' % location)
50
50
 
51
51
    def test_info_empty_controldir(self):
52
52
        self.make_bzrdir('ctrl')
1463
1463
            lco_tree.branch.unlock()
1464
1464
 
1465
1465
        if sys.platform == 'win32':
1466
 
            self.knownFailure('Win32 cannot run "bzr info"'
 
1466
            self.knownFailure('Win32 cannot run "brz info"'
1467
1467
                              ' when the tree is locked.')
1468
1468
 
1469
1469
    def test_info_stacked(self):