[gnome-keysign: 6/16] test_gpgmeh: Fix wrong key assertion
- From: Tobias Mueller <tobiasmue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keysign: 6/16] test_gpgmeh: Fix wrong key assertion
- Date: Tue, 1 Jan 2019 16:02:09 +0000 (UTC)
commit ab265726182a7afb7d8324e32435e885a953d1c1
Author: RyuzakiKK <aasonykk gmail com>
Date: Wed Dec 5 16:07:15 2018 +0100
test_gpgmeh: Fix wrong key assertion
tests/test_gpgmeh.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_gpgmeh.py b/tests/test_gpgmeh.py
index faa5828..72e464e 100644
--- a/tests/test_gpgmeh.py
+++ b/tests/test_gpgmeh.py
@@ -340,7 +340,7 @@ class TestGetUsableKeys:
keys = get_usable_keys(fpr, homedir=self.homedir)
assert_equal(1, len(keys))
key = keys[0]
- assert_equal(fpr, self.originalkey.fingerprint)
+ assert_equal(self.originalkey, key)
class TestGetUsableSecretKeys:
@@ -372,7 +372,7 @@ class TestGetUsableSecretKeys:
keys = get_usable_secret_keys(fpr, homedir=self.homedir)
assert_equal(1, len(keys))
key = keys[0]
- assert_equal(fpr, self.originalkey.fingerprint)
+ assert_equal(self.originalkey, key)
def get_signatures_for_uids_on_key(ctx, key):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]