def mockedDownloadPublicKey(slf):
            if slf.keyid == 'A0B3E88B':
                f = file(os.path.join(resources.get_archive(), '0xA0B3E88B.pgp'))
                return openpgpfile.parseAsciiArmorKey(f)
            raise source.SourceError("Failed to retrieve PGP key %s" % slf.keyid)