~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2007-08-31 19:38:52 UTC
  • mto: This revision was merged to the branch mainline in revision 2777.
  • Revision ID: abentley@panoramicfeedback.com-20070831193852-6ip22sbw058yib5u
Clean up docs, test matching blocks for reannotate

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
        result = self.run_bzr("status -r 0..1")[0]
318
318
        self.assertContainsRe(result, "added:\n  hello.txt\n")
319
319
 
320
 
        result = self.run_bzr("status -c 1")[0]
321
 
        self.assertContainsRe(result, "added:\n  hello.txt\n")
322
 
 
323
320
        self.build_tree(['world.txt'])
324
321
        result = self.run_bzr("status -r 0")[0]
325
322
        self.assertContainsRe(result, "added:\n  hello.txt\n" \
389
386
        rmdir('directory')
390
387
        self.assertStatusContains('RD  file => directory')
391
388
 
392
 
    def test_status_illegal_revision_specifiers(self):
393
 
        out, err = self.run_bzr('status -r 1..23..123', retcode=3)
394
 
        self.assertContainsRe(err, 'one or two revision specifiers')
395
 
 
396
389
 
397
390
class TestStatusEncodings(TestCaseWithTransport):
398
391