/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 breezy/tests/blackbox/test_ls.py

  • Committer: Martin
  • Date: 2017-11-12 13:53:51 UTC
  • mto: This revision was merged to the branch mainline in revision 6810.
  • Revision ID: gzlist@googlemail.com-20171112135351-uyr1ncw7visg62c2
Apply 2to3 ws_comma fixer

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        """If a path is specified, files are listed with that prefix"""
140
140
        self.build_tree(['subdir/', 'subdir/b'])
141
141
        self.wt.add(['subdir', 'subdir/b'])
142
 
        self.ls_equals('subdir/b\n' ,
 
142
        self.ls_equals('subdir/b\n',
143
143
                       'subdir')
144
144
        self.ls_equals('../.bzrignore\n'
145
145
                       '../a\n'
146
146
                       '../subdir/\n'
147
 
                       '../subdir/b\n' ,
 
147
                       '../subdir/b\n',
148
148
                       '..', working_dir='subdir')
149
149
        self.ls_equals('../.bzrignore\0'
150
150
                       '../a\0'
151
151
                       '../subdir\0'
152
 
                       '../subdir/b\0' ,
 
152
                       '../subdir/b\0',
153
153
                       '.. --null', working_dir='subdir')
154
154
        self.ls_equals('?        ../.bzrignore\n'
155
155
                       '?        ../a\n'
156
156
                       'V        ../subdir/\n'
157
 
                       'V        ../subdir/b\n' ,
 
157
                       'V        ../subdir/b\n',
158
158
                       '.. --verbose', working_dir='subdir')
159
159
        self.run_bzr_error(['cannot specify both --from-root and PATH'],
160
160
                           'ls --from-root ..', working_dir='subdir')