~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Accept classifiers for all tree types, more tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
                         'test1234.tmp',
138
138
                         'file.pyc'])
139
139
        BzrDir.create_standalone_workingtree('.')
140
 
        output = self.runbzr('ls --debris', backtick=True)
 
140
        output = self.run_bzr('ls', '--debris')[0]
141
141
        self.assertEqualDiff(output, 
142
142
                             'file.BASE\n'
143
143
                             'file.OTHER\n'
146
146
                             'test1234.tmp\n')
147
147
        wt = WorkingTree.open('.')
148
148
        wt.add(['file.BASE', 'file~', 'test1234.tmp'])
149
 
        output = self.runbzr('ls --debris', backtick=True)
 
149
        output = self.run_bzr('ls', '--debris')[0]
150
150
        self.assertEqualDiff(output, 'file.OTHER\n' 'file.THIS\n')
 
151
        self.run_bzr('commit', '-m', 'foo')
 
152
        output = self.run_bzr('ls', '--debris', '-r', '-1')