/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_too_much.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:
23
23
 
24
24
These check that it behaves properly when it's invoked through the regular
25
25
command-line interface. This doesn't actually run a new interpreter but
26
 
rather starts again from the run_bzr function.
 
26
rather starts again from the run_brz function.
27
27
"""
28
28
 
29
29
 
30
30
# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
31
31
# Note: Please don't add new tests here, it's too big and bulky.  Instead add
32
 
# them into small suites in bzrlib.tests.blackbox.test_FOO for the particular
 
32
# them into small suites in breezy.tests.blackbox.test_FOO for the particular
33
33
# UI command/aspect that is being tested.
34
34
 
35
35
 
38
38
import re
39
39
import sys
40
40
 
41
 
import bzrlib
42
 
from bzrlib import (
 
41
import breezy
 
42
from breezy import (
43
43
    osutils,
44
44
    )
45
 
from bzrlib.branch import Branch
46
 
from bzrlib.errors import BzrCommandError
47
 
from bzrlib.tests.http_utils import TestCaseWithWebserver
48
 
from bzrlib.tests.test_sftp_transport import TestCaseWithSFTPServer
49
 
from bzrlib.tests import TestCaseWithTransport
50
 
from bzrlib.workingtree import WorkingTree
 
45
from breezy.branch import Branch
 
46
from breezy.errors import BzrCommandError
 
47
from breezy.tests.http_utils import TestCaseWithWebserver
 
48
from breezy.tests.test_sftp_transport import TestCaseWithSFTPServer
 
49
from breezy.tests import TestCaseWithTransport
 
50
from breezy.workingtree import WorkingTree
51
51
 
52
52
 
53
53
class TestCommands(TestCaseWithTransport):
308
308
    def test_external_command(self):
309
309
        """Test that external commands can be run by setting the path
310
310
        """
311
 
        # We don't at present run bzr in a subprocess for blackbox tests, and so
 
311
        # We don't at present run brz in a subprocess for blackbox tests, and so
312
312
        # don't really capture stdout, only the internal python stream.
313
313
        # Therefore we don't use a subcommand that produces any output or does
314
314
        # anything -- we just check that it can be run successfully.
554
554
 
555
555
 
556
556
class RemoteTests(object):
557
 
    """Test bzr ui commands against remote branches."""
 
557
    """Test brz ui commands against remote branches."""
558
558
 
559
559
    def test_branch(self):
560
560
        os.mkdir('from')