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

  • Committer: John Arbash Meinel
  • Date: 2009-02-23 15:42:47 UTC
  • mto: This revision was merged to the branch mainline in revision 4033.
  • Revision ID: john@arbash-meinel.com-20090223154247-has31lzprui21glu
Track down a few more files that have trailing whitespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
        wt.commit('Create five empty files.')
297
297
        open('FILE_B', 'w').write('Modification to file FILE_B.')
298
298
        open('FILE_C', 'w').write('Modification to file FILE_C.')
299
 
        unlink('FILE_E')  # FILE_E will be versioned but missing 
 
299
        unlink('FILE_E')  # FILE_E will be versioned but missing
300
300
        open('FILE_Q', 'w').write('FILE_Q is added but not committed.')
301
301
        wt.add('FILE_Q')  # FILE_Q will be added but not committed
302
302
        open('UNVERSIONED_BUT_EXISTING', 'w')
347
347
        self.assertContainsRe(err,
348
348
                              r'.*ERROR: Path\(s\) do not exist: '
349
349
                              'NONEXISTENT.*')
350
 
        
 
350
 
351
351
    def test_status_nonexistent_file_with_others(self):
352
352
        # bzr st [--short] NONEXISTENT ...others..
353
353
        wt = self._prepare_nonexistent()
380
380
        self.assertContainsRe(err,
381
381
                              r'.*ERROR: Path\(s\) do not exist: '
382
382
                              'NONEXISTENT.*')
383
 
        
 
383
 
384
384
    def test_status_multiple_nonexistent_files(self):
385
385
        # bzr st [--short] NONEXISTENT ... ANOTHER_NONEXISTENT ...
386
386
        wt = self._prepare_nonexistent()
415
415
        self.assertContainsRe(err,
416
416
                              r'.*ERROR: Path\(s\) do not exist: '
417
417
                              'ANOTHER_NONEXISTENT NONEXISTENT.*')
418
 
        
 
418
 
419
419
    def test_status_nonexistent_file_with_unversioned(self):
420
420
        # bzr st [--short] NONEXISTENT A B UNVERSIONED_BUT_EXISTING C D E Q
421
421
        wt = self._prepare_nonexistent()