~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge more bzr.dev, addressing some bugs. [still broken]

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        # has of None -> True
63
63
        self.assertTrue(self.store.has_revision_id('null:', self.transaction))
64
64
 
 
65
    def test_get_revision_missing(self):
 
66
        # get_revision('B') -> raises NoSuchRevision
 
67
        self.assertRaises(errors.NoSuchRevision,
 
68
                          self.store.get_revision,
 
69
                          'B',
 
70
                          self.transaction)
 
71
 
65
72
    def test_get_revision_none(self):
66
73
        # get_revision(None) -> raises NoSuchRevision
67
74
        self.assertRaises(errors.NoSuchRevision,
68
75
                          self.store.get_revision,
69
 
                          'B',
 
76
                          None,
70
77
                          self.transaction)
71
78
 
72
79
    def test_add_signature_text_missing(self):