summaryrefslogtreecommitdiff
path: root/tests/test_auth.py
AgeCommit message (Collapse)AuthorFilesLines
2014-08-28tests/test_auth.py: update for gnupg 1.4.18Mauricio Faria de Oliveira1-1/+4
The test 'test_add_key_from_server_mitm' needs updating for gnupg 1.4.18 which fail differently/earlier when 'fingerprints do not match' since commit 'Screen keyserver responses' (5230304349490f31aa64ee2b69a8a2bc06bf7816) With that change gnupg actually checks itself(!) if the key that the server send matches the key that the user asked for. Closes: #755342
2014-03-22tests: Drop some more Python 2.6 cruftJulian Andres Klode1-12/+0
We do not support Python 2.6 anymore, so we can get rid of this.
2014-01-06tests: Remove checks for Python older than 2.7Julian Andres Klode1-8/+1
This simplifies the test code a tiny bit.
2014-01-05make test_pep8.py passMichael Vogt1-3/+8
2012-11-20tests/test_auth.py: Temporarily disable $http_proxy for the tests, asMartin Pitt1-0/+11
gnupg does not get along with proxies (LP #789049)
2012-11-20tests/test_auth.py: In test_add_key_from_server_mitm(), show the exceptionMartin Pitt1-1/+1
if it does not match the expectation, so that this becomes possible to debug.
2012-11-19Try successive keyserver ports if 19191 is already in use.Colin Watson1-3/+25
2012-11-19* tests/test_auth.py:Colin Watson1-6/+24
- Discard stderr from gpg.
2012-10-12fix tests on python2.6 by using the python-unittest2 backport for "with ↵Michael Vogt1-1/+8
self.assertRaises()"
2012-10-10cherry pick robustness fixes for keyid (allow leading 0x, allow lowercase)Michael Vogt1-1/+2
2012-10-01check fingerprint after downloading a key and before adding itMichael Vogt1-0/+16
2012-10-01support only downloading long keyids (160bit) in add_key_from_keyserver()Michael Vogt1-1/+2
2012-06-22* tests:Julian Andres Klode1-1/+13
- Fix new tests from Sebastian to work with Python 2.6
2012-06-06Don't compare the headers in the export testSebastian Heinlein1-2/+5
2012-06-06Add a fakeroot wrapper for apt-keySebastian Heinlein1-0/+2
2012-06-06Create the config dir in the testsSebastian Heinlein1-0/+2
2012-06-05pep8 fixesMichael Vogt1-3/+3
2012-06-01Remove importing of the library dir. This is handled by test_allSebastian Heinlein1-3/+0
2012-06-01Python3 fixes and restore apt configuration afterwardsSebastian Heinlein1-7/+16
2012-06-01Add test casesSebastian Heinlein1-0/+210