python: Port more tests.
authorJustus Winter <justus@g10code.com>
Mon, 6 Jun 2016 10:49:11 +0000 (12:49 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 12 Jul 2016 16:34:12 +0000 (18:34 +0200)
commit1bff47ee58bcf9d0016fb7ac7e37cbf075abd059
tree9e0565d56db6da7b623c02e4d4b9521a0bf89fed
parent57b51685528153f5a50ab0999feec25c83190501
python: Port more tests.

* lang/python/pyme/core.py (Context.op_keylist_all): Add missing
'op_keylist_end'.
(Context.op_trustlist_all): Fix function. Add missing
'op_trustlist_end'.
* lang/python/tests/Makefile.am (pytests): Add new files.
* lang/python/tests/t-import.py: New file.
* lang/python/tests/t-keylist.py: Likewise.
* lang/python/tests/t-trustlist.py: Check alternate interface.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/python/pyme/core.py
lang/python/tests/Makefile.am
lang/python/tests/t-import.py [new file with mode: 0755]
lang/python/tests/t-keylist.py [new file with mode: 0755]
lang/python/tests/t-trustlist.py