~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/revisionstore_implementations/test_all.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-12 09:49:37 UTC
  • mfrom: (2598.5.9 nullrevision)
  • Revision ID: pqm@pqm.ubuntu.com-20070712094937-rw5qbi81enh0pvhw
Make most functions prefer NULL_REVISION

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
    def test_has_None(self):
62
62
        # has of None -> True
63
 
        self.assertTrue(self.store.has_revision_id(None, self.transaction))
 
63
        self.assertTrue(self.store.has_revision_id('null:', self.transaction))
64
64
 
65
65
    def test_get_revision_none(self):
66
66
        # get_revision(None) -> raises NoSuchRevision