29
27
def test_add_reports(self):
30
28
"""add command prints the names of added files."""
34
30
self.build_tree(['top.txt', 'dir/', 'dir/sub.txt', 'CVS'])
36
31
out = self.run_bzr_captured(['add'], retcode=0)[0]
37
32
# the ordering is not defined at the moment
38
33
results = sorted(out.rstrip('\n').split('\n'))
39
34
self.assertEquals(['If you wish to add some of these files, please'\
47
41
out = self.run_bzr_captured(['add', '-v'], retcode=0)[0]
48
42
results = sorted(out.rstrip('\n').split('\n'))
49
43
self.assertEquals(['If you wish to add some of these files, please'\
52
45
'ignored CVS matching "CVS"'],