/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2007-07-11 23:45:20 UTC
  • mfrom: (2601 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2643.
  • Revision ID: john@arbash-meinel.com-20070711234520-do3h7zw8skbathpz
[merge] bzr.dev 2601

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        """Test that 'added' command reports added files"""
31
31
 
32
32
        def check_added(expected):
33
 
            out, err = self.run_bzr_captured(['added'])
 
33
            out, err = self.run_bzr('added')
34
34
            self.assertEquals(out, expected)
35
35
            self.assertEquals(err, '')
36
36
 
48
48
        # after add, shows up in list
49
49
        # bug report 20060119 by Nathan McCallum -- 'bzr added' causes
50
50
        # NameError
51
 
        bzr('add', 'a')
 
51
        bzr('add a')
52
52
        check_added('a\n')
53
53
 
54
54
        # after commit, now no longer listed
55
 
        bzr('commit', '-m', 'add a')
 
55
        bzr(['commit', '-m', 'add a'])
56
56
        check_added('')