~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisionnamespaces.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-22 07:28:09 UTC
  • mfrom: (1551.2.56 win32fixes)
  • Revision ID: pqm@pqm.ubuntu.com-20060422072809-b06e742274a4e9f4
Misc fixes for win32

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'))