Commit Graph

18 Commits (ce76fd130abcdd40fd0cfc4bfe5030a8dd426e85)

Author SHA1 Message Date
Mikael Nordfeldth ce76fd130a Grammar fix, repeated word in test description 2013-07-29 00:27:45 +02:00
Isis Lovecruft 6b154c294e
Change LICENSE to GPLv3+, after discussion with intrigeri.
* ADD docs/change-license-emails.txt, which includes email exchanges between
   myself and intrigeri, including links to Debian and LEAP mailing lists with
   arguments for and against using AGPL for a library.
 * CHANGE license header for all files.
 * CHANGE LICENSE file and gnupg/copyright.py to use GPLv3+ text.
2013-07-27 19:27:53 +00:00
Mikael Nordfeldth f80f216625 mktime takes local time, not UTC
GPG signature timestamps are considered UTC, this may cause times to be off
by delta > 1000 in def test_signature_string_verification because it
incorrectly gave gmtime() as an argument to mktime().

Python 2 and 3 docs both say that mktime should have a struct_time argument
"which expresses the time in local time, not UTC". So the test is now using
time.localtime() instead of time.gmtime()
2013-07-24 17:28:18 +02:00
Isis Lovecruft 78af852d25
Fix putting keys generated during unittests into tests/generated-keys/. 2013-07-09 08:16:27 +00:00
Isis Lovecruft fca8491ceb
Remove two unused inspect module imports from gnupg.py. 2013-07-06 09:01:21 +00:00
Isis Lovecruft d199a7512e
Start Pythonising the Makefile test cleanup actions. 2013-07-02 09:36:48 +00:00
Isis Lovecruft 1a38d786a3
Fix unittest import_with_colons to use key dict. 2013-07-02 09:14:56 +00:00
Isis Lovecruft b3decd7b73
Add imports specific to running unittests after an installation. 2013-07-02 09:13:58 +00:00
Isis Lovecruft ab54c7b71e
Make detached binary sig unittest test what it's supposed to. 2013-07-02 07:17:51 +00:00
Isis Lovecruft 0ca6352457
Add check on recv-key size after writing it to a file. 2013-07-02 07:15:31 +00:00
Isis Lovecruft db4826f815
Fix an error in a unittest due to attempt to write class obj, not str form. 2013-07-02 07:14:48 +00:00
Isis Lovecruft ea8c2c5e1f
Ugh. Change the unittest paths again. 2013-07-02 07:14:21 +00:00
Isis Lovecruft e8062c95aa
Fix variable names in unittest: pubring→keyring. 2013-07-02 00:55:53 +00:00
Isis Lovecruft e18e10edd1
Add a debug statement to a unittest when we've downloaded a key. 2013-07-02 00:55:26 +00:00
Isis Lovecruft 3b7457ae74
Remove a print statement from a unittest. 2013-07-02 00:43:54 +00:00
Isis Lovecruft 6cf7640c5c
Fix whitespace formatting for a line in gnupg/tests/test_gnupg.py. 2013-07-02 00:43:12 +00:00
Isis Lovecruft 12b1de719a
Update paths in unittests to disregard the installed directory. 2013-07-02 00:42:17 +00:00
Isis Lovecruft d7a0ffb395
Move tests/* → gnupg/test/* 2013-06-28 13:13:27 +00:00