~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-06-06 17:10:05 UTC
  • mfrom: (1744 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1748.
  • Revision ID: aaron.bentley@utoronto.ca-20060606171005-e2b50e39cd5056be
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2004, 2005 by Canonical Ltd
 
1
# Copyright (C) 2004, 2005, 2006 by Canonical Ltd
2
2
 
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
56
56
                          (1, 'a@r-0-1'))
57
57
        self.assertEquals(RevisionSpec('before:date:today').in_history(b),
58
58
                          (1, 'a@r-0-1'))
59
 
        self.assertRaises(NoSuchRevision,
60
 
                          RevisionSpec('date:tomorrow').in_history, b)
61
59
 
62
60
        self.assertEquals(RevisionSpec('last:1').in_history(b),
63
61
                          (3, 'a@r-0-3'))