Skip to content

Commit

Permalink
Fix test_VerifySignature on devel
Browse files Browse the repository at this point in the history
  • Loading branch information
quba42 authored and mibanescu committed Jan 16, 2019
1 parent 26eb9ee commit 26af937
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/test/unit/plugins/importers/test_sync.py
Expand Up @@ -237,6 +237,7 @@ def test_SaveMetadata(self, _UnitKeyToUnit):
@mock.patch('pulp_deb.plugins.importers.sync.gnupg.GPG')
def test_VerifySignature(self, _GPG, _DebRelease, _DebComponent):
key_fpr = '0000111122223333444455556666777788889999AAAABBBBCCCCDDDDEEEEFFFF'
_GPG.return_value.list_keys.return_value = [dict(fingerprint=key_fpr)]
step = self.step.children[1]
self.assertEquals(constants.SYNC_STEP_RELEASE_PARSE, step.step_id)
step.get_config().repo_plugin_config['require_signature'] = True
Expand Down

0 comments on commit 26af937

Please sign in to comment.