Isis Lovecruft
9b9e441dd7
Update function docs for _parsers._is_allowed() function.
2013-06-28 01:44:04 +00:00
Isis Lovecruft
1e03011296
Remove unnecessary comment, there is now a unittest for this condition.
2013-06-28 01:42:05 +00:00
Isis Lovecruft
a37557c000
Change the sets of unittests to use the combined sig test.
2013-06-09 11:22:42 +00:00
Isis Lovecruft
e1139c7e37
Remove commented out code from _util._copy_data().
2013-06-09 08:36:22 +00:00
Isis Lovecruft
bcaa26685b
Change several imports for installed modules to be absolute in _meta.py.
2013-06-09 08:35:17 +00:00
Isis Lovecruft
a707a50c31
Update test directory shortcut in gnupg/_logger.py.
2013-06-09 08:34:15 +00:00
Isis Lovecruft
ceb38fdefe
Change directory shortcuts in gnupg._util.py module.
2013-06-09 08:33:30 +00:00
Isis Lovecruft
1afcda8364
Fix a misnamed process thread variable.
2013-06-09 08:25:34 +00:00
Isis Lovecruft
5e47dd7351
Use one of our test_key files for a sig test to save entropy.
2013-06-09 08:24:46 +00:00
Isis Lovecruft
c7f648e2a8
Combine sig encoding and algorithm tests into string test to save entropy.
2013-06-09 08:24:21 +00:00
Isis Lovecruft
59de070468
Write the recv key to a file for later tests to use to save entropy.
2013-06-09 08:14:05 +00:00
Isis Lovecruft
61c9a8818d
Rename a unittest to test what it actually tests.
2013-06-09 08:12:46 +00:00
Isis Lovecruft
ab00cd69e4
Import with from the future.
2013-06-09 08:11:33 +00:00
Isis Lovecruft
9f6a0a08fb
Use separate keyrings during multi recipient test to avoid overwrites.
2013-06-09 08:09:34 +00:00
Isis Lovecruft
762f750db0
Should be TestCase.assertEquals to test equality, not equivalence.
2013-06-09 08:07:00 +00:00
Isis Lovecruft
900c41619b
If using a virtualenv, we don't want the env pip and distribute to be upgraded.
...
* The proper way to do this is to upgrade globally with the get_pip.py script
and the distribute_setup.py script, and then create the virtualenv with:
$ . $(which virtualenvwrapper.sh)
$ WORKON_HOME=~/.virtualenvs && export WORKON_HOME
$ mkvirtualenv -a $PWD -r requirements.txt --unzip-setuptools \
--distribute --no-site-packages gnupg
2013-06-09 05:44:43 +00:00
Isis Lovecruft
b0001ef94c
Make sure setuptools/distribute is present in new dev virtualenvs.
2013-06-09 05:41:25 +00:00
Isis Lovecruft
9f47765a3f
Fix print statements in scripts/make-dev-virtualenv.sh script.
2013-06-09 05:40:55 +00:00
Isis Lovecruft
744d5c64d3
Explicitly specify package dirs and names in setup.py.
2013-06-09 04:27:52 +00:00
Isis Lovecruft
e7f1899832
Fix the hash bang python in scripts/distribute_setup.py.
2013-06-08 11:19:08 +00:00
Isis Lovecruft
295d98fbdc
GPG.encrypt_file()→GPGBase.encrypt() and fix doctests and documentation.
2013-06-04 01:42:07 +00:00
Isis Lovecruft
d75800a7e0
Add tests package __init__.py.
2013-06-03 21:35:23 +00:00
Isis Lovecruft
785b2760bb
Move GPG._sign_file() to GPGBase since it's never called directly.
2013-06-03 21:34:39 +00:00
Isis Lovecruft
cd319e1a93
Change license string for PyPI to be the license name, not the copyright.
2013-06-03 21:28:28 +00:00
Isis Lovecruft
6e877d2871
Fix whitespace to be a TAB instead on spaces in Makefile. *le sigh*
2013-06-03 21:27:44 +00:00
Isis Lovecruft
042d52a75f
Move source files to directory named for top-level package.
2013-06-03 21:16:19 +00:00
Isis Lovecruft
dfe51598cc
Add script for creating a virtualenv for testing and development.
2013-06-03 12:07:51 +00:00
Isis Lovecruft
e9498e91a9
Fix assertions and add extra assertions to multi-recipient encryption test.
2013-06-03 12:04:32 +00:00
Isis Lovecruft
1cfd8b636d
Add run mechanism for unittests to main module.
2013-06-03 12:02:28 +00:00
Isis Lovecruft
2825efcda5
Add a unittest for GPG.recv-keys().
2013-06-03 11:59:37 +00:00
Isis Lovecruft
3233cba6bb
Add a test for semicolon escapes in inputs.
2013-06-03 11:58:02 +00:00
Isis Lovecruft
d81fee0912
Remove the log.warn line that printed dividers between unittest runs.
2013-06-03 11:56:47 +00:00
Isis Lovecruft
aa1247f431
Fix __package__ attr and imports according to PEP366 for submodules.
2013-06-03 11:55:45 +00:00
Isis Lovecruft
4584719c5b
Deduplicate code in GPGWrapper.
2013-06-03 11:49:53 +00:00
Isis Lovecruft
e573136666
Rewrite doctest for GPG.encrypt.
2013-06-03 11:39:56 +00:00
Isis Lovecruft
118b7f5a28
Fix a broken directory path in GPG.gen_key() doctest.
2013-06-03 11:39:16 +00:00
Isis Lovecruft
64028912de
Rewrite GPG.recv_keys to hook into GPGBase.recv_keys.
2013-06-03 11:38:18 +00:00
Isis Lovecruft
b1760735ea
Fix doctests in GPG class to all use the same homedir directory.
2013-06-03 11:37:03 +00:00
Isis Lovecruft
64f093d434
Add GPG.keyserver to settings printout.
2013-06-03 11:35:59 +00:00
Isis Lovecruft
0f2770ff78
Update doctest for GPG.__init__().
2013-06-03 11:35:26 +00:00
Isis Lovecruft
d3c509265f
Remove old documentation on no-longer-existant kwarg for GPG.__init__().
2013-06-03 11:34:26 +00:00
Isis Lovecruft
ca28c1a4d2
Remove a kwarg from GPG.__init__() since properties are settable in child cls.
2013-06-03 11:33:44 +00:00
Isis Lovecruft
eb1967600e
Remove unnecessary io.BytesIO import from gnupg module.
2013-06-03 11:33:05 +00:00
Isis Lovecruft
36a6bf712a
Switch to using py3k absolute imports in gnupg module.
2013-06-03 11:32:25 +00:00
Isis Lovecruft
dbb8e395cc
Use the copyleft.authors objects in module documentation for gnupg.
2013-06-03 11:31:21 +00:00
Isis Lovecruft
2b54a03922
Redefine document build commands in Makefile.
2013-06-03 11:30:09 +00:00
Isis Lovecruft
bddabb1406
Add a reinstall command.
2013-06-03 11:29:32 +00:00
Isis Lovecruft
0f9a7f5faf
Redefine commands for running unittests in the Makefile.
2013-06-03 11:28:35 +00:00
Isis Lovecruft
5c49b5826c
Redefine cleanup operations in the Makefile.
2013-06-03 11:26:32 +00:00
Isis Lovecruft
f9948c7c7a
Fix ListPackets to set self.status for messages, like the other parsers.
2013-06-03 11:25:09 +00:00