summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-10 16:04:10 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-10 16:04:10 +0200
commit30a4b63d66918937fc17cef798a52e12fe316844 (patch)
treec289474166badccbc78f36ebd3f3f4a5a641caec /tests
parent5116cd97cbc367783d73a8bfabc5a1ce3882fd21 (diff)
downloadpython-apt-30a4b63d66918937fc17cef798a52e12fe316844.tar.gz
apt/auth.py,tests/test_auth.py: be robust against lower case keyids
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 ade2f1b9..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(
- "0xA1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553", "hkp://localhost:19191")
+ "0xa1bD8E9D78F7FE5C3E65D8AF8B48AD6246925553",
+ "hkp://localhost:19191")
ret = apt.auth.list_keys()
self.assertEqual(len(ret), 1)