/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_bound_branches.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:
17
17
 
18
18
"""Tests of bound branches (binding, unbinding, commit, etc) command."""
19
19
 
20
 
from bzrlib import (
 
20
from breezy import (
21
21
    branch,
22
22
    controldir,
23
23
    errors,
24
24
    tests,
25
25
    )
26
 
from bzrlib.tests import script
 
26
from breezy.tests import script
27
27
 
28
28
 
29
29
class TestBoundBranches(tests.TestCaseWithTransport):
366
366
 
367
367
    def test_bind_when_bound(self):
368
368
        self.run_script("""
369
 
$ bzr init trunk
 
369
$ brz init trunk
370
370
...
371
 
$ bzr init copy
 
371
$ brz init copy
372
372
...
373
373
$ cd copy
374
 
$ bzr bind ../trunk
375
 
$ bzr bind
376
 
2>bzr: ERROR: Branch is already bound
 
374
$ brz bind ../trunk
 
375
$ brz bind
 
376
2>brz: ERROR: Branch is already bound
377
377
""")
378
378
 
379
379
    def test_bind_before_bound(self):
380
380
        self.run_script("""
381
 
$ bzr init trunk
 
381
$ brz init trunk
382
382
...
383
383
$ cd trunk
384
 
$ bzr bind
385
 
2>bzr: ERROR: No location supplied and no previous location known
 
384
$ brz bind
 
385
2>brz: ERROR: No location supplied and no previous location known
386
386
""")