/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_inventory.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:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
"""Black-box tests for 'bzr inventory'."""
 
17
"""Black-box tests for 'brz inventory'."""
18
18
 
19
19
import os
20
20
 
21
 
from bzrlib.tests import TestCaseWithTransport
 
21
from breezy.tests import TestCaseWithTransport
22
22
 
23
23
 
24
24
class TestInventory(TestCaseWithTransport):
34
34
        self.tree = tree
35
35
 
36
36
    def assertInventoryEqual(self, expected, args=None, **kwargs):
37
 
        """Test that the output of 'bzr inventory' is as expected.
 
37
        """Test that the output of 'brz inventory' is as expected.
38
38
 
39
39
        Any arguments supplied will be passed to run_bzr.
40
40
        """
65
65
    def test_inventory_specific_files(self):
66
66
        self.assertInventoryEqual('a\n', 'a')
67
67
        self.assertInventoryEqual('b\nb/c\n', 'b b/c')
68
 
        # 'bzr inventory' recurses into subdirectories
 
68
        # 'brz inventory' recurses into subdirectories
69
69
        self.assertInventoryEqual('b\nb/c\n', 'b')
70
70
 
71
71
    def test_inventory_mixed(self):