~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_commit.py

Make commit verbose mode work!.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        self.build_tree(['hello.txt'])
39
39
        self.runbzr("commit -m empty", retcode=3)
40
40
        self.runbzr("add hello.txt")
41
 
        self.runbzr("commit -m added")       
 
41
        out,err = self.run_bzr("commit", "-m", "added")
 
42
        self.assertEqual('', out)
 
43
        self.assertEqual('added hello.txt\n'
 
44
                         'Committed revision 1.\n',
 
45
                         err)
42
46
 
43
47
    def test_empty_commit_message(self):
44
48
        self.runbzr("init")