/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_ls.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-12-21 04:38:20 UTC
  • mfrom: (1551.9.25 Aaron's mergeable stuff)
  • Revision ID: pqm@pqm.ubuntu.com-20061221043820-0b56b176269f173a
unhide ls, support --kind flag

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
                       'a\n'
158
158
                       , '--versioned')
159
159
 
 
160
    def test_kinds(self):
 
161
        self.build_tree(['subdir/'])
 
162
        self.ls_equals('.bzrignore\n' 
 
163
                       'a\n', 
 
164
                       '--kind=file')
 
165
        self.ls_equals('subdir\n',
 
166
                       '--kind=directory')
 
167
        self.ls_equals('',
 
168
                       '--kind=symlink')
 
169
        self.run_bzr_error('invalid kind specified', 'ls', '--kind=pile')