~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisionnamespaces.py

  • Committer: Robert Collins
  • Date: 2006-05-23 00:03:45 UTC
  • mto: (1724.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1725.
  • Revision ID: robertc@robertcollins.net-20060523000345-b54523c712b3b696
Review feedback.

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)
55
53
        self.assertEquals(RevisionSpec('date:yesterday').in_history(b),
56
54
                          (1, 'a@r-0-1'))
57
55
        self.assertEquals(RevisionSpec('before:date:today').in_history(b),
58
56
                          (1, 'a@r-0-1'))
59
 
        self.assertRaises(NoSuchRevision,
60
 
                          RevisionSpec('date:tomorrow').in_history, b)
61
57
 
62
58
        self.assertEquals(RevisionSpec('last:1').in_history(b),
63
59
                          (3, 'a@r-0-3'))