Commit Graph

16 Commits (48a4055db090f1d0a72ff9963213e77a9f8edf23)

Author SHA1 Message Date
Isis Lovecruft 9cbc508a9b
Add test for gnupg._copy_data().
* Also, fixed a couple more quotes in docstrings, as well as some whitespace
   formatting issues.
2013-04-05 21:30:55 +00:00
Isis Lovecruft 1e4fa9e2f4
Refactor old docstrings to have PEP8 conformant three double quotes. 2013-04-05 21:27:21 +00:00
Isis Lovecruft 37380ff05f
Change debugging messages for key import tests to be more precise.
* Also, disabled doctest runs when called with "$ python test_gnupg.py".
2013-04-02 13:15:37 +00:00
Isis Lovecruft b86d11296b
Clean up a few import statements. 2013-04-02 13:14:53 +00:00
Isis Lovecruft 980bff85cc
Fix a bug where the unittests were leaving hanging file descriptors.
* The old unittests did not clean up temp files properly in some test cases.
2013-04-02 13:11:43 +00:00
Isis Lovecruft 5b38b64c97
Rewrote more unittests. All basic tests now pass. 2013-03-19 07:18:56 +00:00
Isis Lovecruft be303125d1 Fix test_gpg_binary_version_str() to detect correct output from 'gpg --version'. 2013-03-18 19:36:30 +00:00
Isis Lovecruft 0b6b4ed2ff Add new unittests and remove now irrelevant old ones. 2013-03-18 19:36:30 +00:00
Isis Lovecruft ca880901eb Fix keyring location names in test_gnupg.py. 2013-03-18 19:36:30 +00:00
Isis Lovecruft 34bbf47e60 Add io.StringIO subclass for writing gpg process results to a string.
* These .write()s need to be forced to unicode for StringIO to handle them
   correctly.
2013-03-18 19:36:30 +00:00
Isis Lovecruft 311ee4b83b Add unittest for discovery of keyring files. 2013-03-18 19:36:30 +00:00
Isis Lovecruft d8264a619b Update test_gnupg.py unittests to reflect changes in the code. 2013-03-18 19:36:30 +00:00
Isis Lovecruft 0c5e8f9110 Update test_gnupy.py to use the same standard key generation params.
* Test method now matches the batch key generation parameters in gnupg.py.
 * Fix trailing whitespace in test_gnupg.py.
2013-03-18 19:36:29 +00:00
Isis Lovecruft 2720b68b8c Update test_gnupg.py logger settings.
* The logfile is now appended to, rather than rewritten, so that we can
   still see past test results.
2013-03-18 19:36:29 +00:00
Isis Lovecruft e0f0023c81 Update test_gnupg.py with update parameter names. 2013-03-18 19:36:29 +00:00
Isis Lovecruft 69b7f86529 Original source from code.google.com, version 0.3.2. 2013-02-13 21:19:18 +00:00