gpgme/lang/python/tests
Justus Winter bf188e280b python: Fix reading data from existing files.
* lang/python/pyme/core.py (Data.__init__): Add 'copy' kwargument, and
pass it to functions supporting it.  PEP8 fix.
(Data.new_from_fd): PEP8 fix.
(Data.new_from_file): Give a more helpful error message if copy is
False.  PEP8 fix.
(Data.new_from_fd): Hand the file descriptor to
'gpgme_data_new_from_fd', not a stream.  Fix docstring.
* lang/python/tests/t-data.py: Add tests for this.

Signed-off-by: Justus Winter <justus@gnupg.org>
2016-05-27 12:18:29 +02:00
..
Makefile.am python: Improve and test Context.wait. 2016-05-24 18:00:16 +02:00
support.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-callbacks.py python: Support status callbacks. 2016-05-24 18:00:16 +02:00
t-data.py python: Fix reading data from existing files. 2016-05-27 12:18:29 +02:00
t-decrypt.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-edit.py python: Improve support for edit callbacks. 2016-05-24 13:13:35 +02:00
t-encrypt-sign.py python: Port more tests. 2016-05-23 15:43:55 +02:00
t-encrypt-sym.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-encrypt.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-export.py python: Port more tests. 2016-05-23 15:43:55 +02:00
t-sign.py python: Add more tests. 2016-05-19 11:09:45 +02:00
t-signers.py python: Port more tests. 2016-05-23 15:43:55 +02:00
t-wait.py python: Improve and test Context.wait. 2016-05-24 18:00:16 +02:00
t-wrapper.py python: Share generated methods between objects. 2016-05-12 18:29:04 +02:00