diff options
| author | Martin Pitt <martin.pitt@canonical.com> | 2012-11-20 09:52:18 +0100 |
|---|---|---|
| committer | Martin Pitt <martin.pitt@canonical.com> | 2012-11-20 09:52:18 +0100 |
| commit | 5b224ace5811c2cc9a1f5506072f04abbd7dc242 (patch) | |
| tree | dbf9dc06d0fc2af0afebedd48cf3c9b5c61fbf82 /tests | |
| parent | 7fd512f22177d4745843d8d282cbb8a964915a21 (diff) | |
| download | python-apt-5b224ace5811c2cc9a1f5506072f04abbd7dc242.tar.gz | |
tests/test_auth.py: In test_add_key_from_server_mitm(), show the exception
if it does not match the expectation, so that this becomes possible to
debug.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_auth.py b/tests/test_auth.py index be7f41a6..7fb8160b 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -227,7 +227,7 @@ class TestAuthKeys(TestCase): "0101010178F7FE5C3E65D8AF8B48AD6246925553", "hkp://localhost:%d" % self.keyserver_port) self.assertTrue( - str(cm.exception).startswith("Fingerprints do not match")) + str(cm.exception).startswith("Fingerprints do not match"), cm.exception) def testAddKeyFromServer(self): """Install a GnuPG key from a remote server.""" |
