~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/blackbox.py

  • Committer: Aaron Bentley
  • Date: 2011-09-25 02:01:39 UTC
  • mfrom: (773.1.3 fix-nick-reference)
  • Revision ID: aaron@aaronbentley.com-20110925020139-hkr2kb7jp1vnbs77
Fix bug #263065.  (andialbrecht)

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
        self.assertIs(False, os.path.exists('checkout2'))
122
122
        self.assertIs(False, os.path.exists('source2'))
123
123
 
124
 
    def test_list_branches(self):
 
124
    def test_branches(self):
125
125
        self.run_bzr('init source')
126
126
        self.run_bzr('init source/subsource')
127
127
        self.run_bzr('checkout --lightweight source checkout')
128
128
        self.run_bzr('init checkout/subcheckout')
129
129
        self.run_bzr('init checkout/.bzr/subcheckout')
130
 
        out = self.run_bzr('list-branches')[0]
 
130
        out = self.run_bzr('branches')[0]
131
131
        lines = out.split('\n')
132
132
        self.assertIs(True, 'source' in lines)
133
133
        self.assertIs(True, 'source/subsource' in lines)