Closed alxwrd closed 6 years ago
:thinking: Python 2.7 failed because
Traceback (most recent call last):
File "tests.py", line 42, in wrapper
sys.stdout.write = output
AttributeError: 'file' object attribute 'write' is read-only
I'll revisit this later.
This adds some tests around the CLI.
I've written a decorator to wrap the CLI tests so we don't need to change anything about
ety.cli()
to gain access to the output.