/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_remove.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
import os
19
19
import sys
20
20
 
21
 
from bzrlib.tests import (
 
21
from breezy.tests import (
22
22
    script,
23
23
    features,
24
24
    TestCaseWithTransport,
25
25
    TestSkipped,
26
26
    )
27
 
from bzrlib.workingtree import WorkingTree
28
 
from bzrlib import osutils
 
27
from breezy.workingtree import WorkingTree
 
28
from breezy import osutils
29
29
 
30
30
_id='-id'
31
31
a='a'
71
71
 
72
72
    def test_remove_new_no_files_specified(self):
73
73
        tree = self.make_branch_and_tree('.')
74
 
        self.run_bzr_error(["bzr: ERROR: No matching files."], 'remove --new')
75
 
        self.run_bzr_error(["bzr: ERROR: No matching files."], 'remove --new .')
 
74
        self.run_bzr_error(["brz: ERROR: No matching files."], 'remove --new')
 
75
        self.run_bzr_error(["brz: ERROR: No matching files."], 'remove --new .')
76
76
 
77
77
    def test_remove_no_files_specified(self):
78
78
        tree = self._make_tree_and_add(['foo'])
208
208
        self.build_tree(files)
209
209
        tree = self.make_branch_and_tree('.')
210
210
        script.ScriptRunner().run_script(self, '''
211
 
        $ bzr remove --no-backup a b/ b/c d/
 
211
        $ brz remove --no-backup a b/ b/c d/
212
212
        2>deleted d
213
213
        2>removed b/c (but kept a copy: b/c.~1~)
214
214
        2>deleted b