summaryrefslogtreecommitdiff
path: root/tests/test_cli.py
Commit message (Collapse)AuthorAgeFilesLines
* Reformatting with BlackSybren A. Stüvel2021-03-291-61/+66
| | | | No functional changes.
* Clean up stdout when using unittest test runnerSaif Hakim2021-02-241-5/+5
| | | | | | | | While pytest is the preferred test runner via tox, it looks like some folks are still running tests via `python3 setup.py test` which uses unittest and does not have good support for capturing stdout. To make using unittest slightly more friendly, we further swallow stdout / stderr for cli tests, and ensure print statements start on a newline.
* Added mypy for static type checkingSybren A. Stüvel2019-08-041-22/+18
|
* Removed compatibility code for Python 2.7 and 3.4Sybren A. Stüvel2019-08-041-8/+2
|
* Create PY2 constant to simplify compatibility decisions (#82)Michael Manganiello2017-01-151-14/+12
| | | It's about time to get this merged, thanks again!
* Drop byte_literal in favour of b''adamantike2016-05-081-4/+3
|
* Added unit test for rsa.util.private_to_public()Sybren A. Stüvel2016-03-171-0/+19
|
* More CLI tests & clearer bytes stuffSybren A. Stüvel2016-03-171-10/+141
| | | | | Ensuring that bytes are written correctly on all supported Python versions, including when writing to stdout.
* Attempt at unit-testing CLI commandsSybren A. Stüvel2016-03-171-0/+149