~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Rename detritus -> debris, make list_files take a lisf of classifiers

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
                  'subdir/b\n'
129
129
                  , '--versioned')
130
130
 
131
 
    def test_ls_detritus(self):
 
131
    def test_ls_debris(self):
132
132
        self.build_tree(['file',
133
133
                         'file~',
134
134
                         'file.BASE',
137
137
                         'test1234.tmp',
138
138
                         'file.pyc'])
139
139
        BzrDir.create_standalone_workingtree('.')
140
 
        output = self.runbzr('ls --detritus', backtick=True)
 
140
        output = self.runbzr('ls --debris', backtick=True)
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 --detritus', backtick=True)
 
149
        output = self.runbzr('ls --debris', backtick=True)
150
150
        self.assertEqualDiff(output, 'file.OTHER\n' 'file.THIS\n')