~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisionnamespaces.py

  • Committer: Aaron Bentley
  • Date: 2006-05-25 17:20:51 UTC
  • mfrom: (1731 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: abentley@panoramicfeedback.com-20060525172051-0f7bca5bc11e4173
MergeĀ fromĀ dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
        self.assertEquals(RevisionSpec('date:today').in_history(b),
52
52
                          (2, 'a@r-0-2'))
 
53
        self.assertRaises(NoSuchRevision,
 
54
                          RevisionSpec('date:tomorrow').in_history, b)
53
55
        self.assertEquals(RevisionSpec('date:yesterday').in_history(b),
54
56
                          (1, 'a@r-0-1'))
55
57
        self.assertEquals(RevisionSpec('before:date:today').in_history(b),
56
58
                          (1, 'a@r-0-1'))
 
59
        self.assertRaises(NoSuchRevision,
 
60
                          RevisionSpec('date:tomorrow').in_history, b)
57
61
 
58
62
        self.assertEquals(RevisionSpec('last:1').in_history(b),
59
63
                          (3, 'a@r-0-3'))