~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

  • Committer: Martin Pool
  • Date: 2005-08-23 00:27:12 UTC
  • Revision ID: mbp@sourcefrog.net-20050823002712-2b0f5e12243a6116
- merge aaron's merge improvements 999..1008

abentley@panoramicfeedback.com-20050822154931-a0da28d30681e2c6

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
 
374
374
class RevertCommand(ExternalBase):
375
375
    def runTest(self):
 
376
        import os
376
377
        self.runbzr('init')
377
378
 
378
379
        file('hello', 'wt').write('foo')
390
391
        self.check_file_contents('goodbye', 'qux')
391
392
        self.runbzr('revert')
392
393
        self.check_file_contents('goodbye', 'baz')
 
394
        os.mkdir('revertdir')
 
395
        self.runbzr('add revertdir')
 
396
        self.runbzr('commit -m f')
 
397
        os.rmdir('revertdir')
 
398
        self.runbzr('revert')
 
399
 
393
400