summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Vogt <egon@debian-devbox>2012-10-12 09:29:28 +0200
committerMichael Vogt <egon@debian-devbox>2012-10-12 09:29:28 +0200
commitada635b123bf1a1ebec2b3208742ab7fdaae43d6 (patch)
tree903c41edc64d35881ed3a18192716fa09fe6fe5d /tests
parentc018a7368c5f3546ee90ad6bb597d0708ab4cb28 (diff)
parent4755c72601c11b800650f942f855cee286c50356 (diff)
downloadpython-apt-ada635b123bf1a1ebec2b3208742ab7fdaae43d6.tar.gz
* apt/auth.py:
- support importing long keyids with leading 0x and mixed case
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 4e37b3d3..d742a471 100644
--- a/tests/test_auth.py
+++ b/tests/test_auth.py
@@ -207,7 +207,8 @@ class TestAuthKeys(unittest.TestCase):
self.addCleanup(self._stop_keyserver)
apt.auth.add_key_from_keyserver(
- "A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553", "hkp://localhost:19191")
+ "0xa1bD8E9D78F7FE5C3E65D8AF8B48AD6246925553",
+ "hkp://localhost:19191")
ret = apt.auth.list_keys()
self.assertEqual(len(ret), 1)