~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/gpg.py

  • Committer: Jonathan Riddell
  • Date: 2011-06-14 15:39:26 UTC
  • mto: (5971.2.3 bzr-gpgme)
  • mto: This revision was merged to the branch mainline in revision 6003.
  • Revision ID: jriddell@canonical.com-20110614153926-r2gjxqblm7wq17ca
start adding test cases

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    def sign(self, content):
50
50
        raise errors.SigningFailed('Signing is disabled.')
51
51
 
52
 
    def verification(self, content):
 
52
    def verify(self, content):
53
53
        raise errors.VerifyFailed('Signature verification is disabled.')
54
54
 
55
55
 
63
63
        return ("-----BEGIN PSEUDO-SIGNED CONTENT-----\n" + content +
64
64
                "-----END PSEUDO-SIGNED CONTENT-----\n")
65
65
 
66
 
    def verification(self, content):
 
66
    def verify(self, content):
67
67
        return SIGNATURE_VALID
68
68
 
69
69