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