summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-01 13:56:32 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-01 13:56:32 +0200
commit06f7a9c25dff9dc6d5da1ecdfa0ab59d2cb0c3ab (patch)
tree7a161ec375909cba28cd77994f4df1f56efad463 /tests
parentd3d4d322614a44cf84a6f2b40bc21d09bbfb2405 (diff)
downloadpython-apt-06f7a9c25dff9dc6d5da1ecdfa0ab59d2cb0c3ab.tar.gz
support only downloading long keyids (160bit) in add_key_from_keyserver()
Diffstat (limited to 'tests')
-rw-r--r--tests/test_auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py
index 99c40db5..7c43d473 100644
--- a/tests/test_auth.py
+++ b/tests/test_auth.py
@@ -190,7 +190,8 @@ class TestAuthKeys(unittest.TestCase):
self._start_keyserver()
self.addCleanup(self._stop_keyserver)
- apt.auth.add_key_from_keyserver("46925553", "hkp://localhost:19191")
+ apt.auth.add_key_from_keyserver(
+ "A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553", "hkp://localhost:19191")
ret = apt.auth.list_keys()
self.assertEqual(len(ret), 1)