58
58
def test_store_signature(self):
59
59
wt = self.make_branch_and_tree('.')
65
63
branch.repository.store_revision_signature(
66
64
gpg.LoopbackGPGStrategy(None), b'FOO', b'A')
67
65
except errors.NoSuchRevision:
69
66
raise tests.TestNotApplicable(
70
67
"repository does not support signing non-present"
79
69
# A signature without a revision should not be accessible.
80
70
self.assertRaises(errors.NoSuchRevision,
81
71
branch.repository.has_signature_for_revision_id,