summaryrefslogtreecommitdiff
path: root/tests/test_cli.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typostypoVictor Uriarte2017-11-291-1/+1
|
* Fix unclosed file warnings discovered during testsJon Dufresne2017-10-281-3/+4
| | | | | | | | Appear as: ResourceWarning: unclosed file ... Always explicitly close files or detach file wrappers.
* Close files during tests.Andi Albrecht2017-09-241-4/+5
|
* Add another CLI encoding testVictor Uriarte2017-01-221-0/+8
| | | | This one I couldn't get to pass on my attempt
* CLI: Add --encoding optionTao Wang2017-01-121-0/+60
| | | | | | | | * Add `--encoding` option with default utf-8 * Make sure input and output are in same encoding * Add test cases Signed-off-by: Tao Wang <twang2218@gmail.com>
* Format cli.py and add cli-testsVictor Uriarte2016-06-201-0/+37
|
* Replace tests/utils with conftest.pyVictor Uriarte2016-06-201-7/+4
| | | | http://stackoverflow.com/questions/34466027/what-is-the-use-of-conftest-py
* Replace other UnitTest with Py.TestVictor Uriarte2016-06-201-1/+0
|
* Add test_cli.pyVictor Uriarte2016-06-151-0/+42
References: http://stackoverflow.com/questions/18160078/how-do-you-write-tests-for-the-argparse-portion-of-a-python-module http://dustinrcollins.com/testing-python-command-line-apps https://github.com/mdklatt/cookiecutter-python-app