/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from cStringIO import StringIO
20
20
 
21
 
from bzrlib import (
 
21
from breezy import (
22
22
    branch,
23
23
    merge_directive,
24
24
    tests,
25
25
    )
26
 
from bzrlib.controldir import ControlDir
27
 
from bzrlib.bundle import serializer
28
 
from bzrlib.transport import memory
29
 
from bzrlib.tests import (
 
26
from breezy.controldir import ControlDir
 
27
from breezy.bundle import serializer
 
28
from breezy.transport import memory
 
29
from breezy.tests import (
30
30
    scenarios,
31
31
    )
32
 
from bzrlib.tests.matchers import ContainsNoVfsCalls
 
32
from breezy.tests.matchers import ContainsNoVfsCalls
33
33
 
34
34
 
35
35
load_tests = scenarios.load_tests_apply_scenarios
267
267
        location = self.get_url('absentdir/')
268
268
        out, err = self.run_bzr(["send", "--from", location], retcode=3)
269
269
        self.assertEqual(out, '')
270
 
        self.assertEqual(err, 'bzr: ERROR: Not a branch: "%s".\n' % location)
 
270
        self.assertEqual(err, 'brz: ERROR: Not a branch: "%s".\n' % location)
271
271
 
272
272
 
273
273
class TestSendStrictMixin(TestSendMixin):
288
288
    _default_wd = 'local'
289
289
    _default_sent_revs = ['local']
290
290
    _default_errors = ['Working tree ".*/local/" has uncommitted '
291
 
                       'changes \(See bzr status\)\.',]
 
291
                       'changes \(See brz status\)\.',]
292
292
    _default_additional_error = 'Use --no-strict to force the send.\n'
293
293
    _default_additional_warning = 'Uncommitted changes will not be sent.'
294
294
 
402
402
        # Exercise commands from the checkout directory
403
403
        self._default_wd = 'checkout'
404
404
        self._default_errors = ["Working tree is out of date, please run"
405
 
                                " 'bzr update'\.",]
 
405
                                " 'brz update'\.",]
406
406
        self._default_sent_revs = ['modified-in-local', 'local']
407
407
 
408
408
    def test_send_default(self):