Unverified Commit 620a4c12 authored by Massimiliano Pippi's avatar Massimiliano Pippi Committed by GitHub

Assert output is empty (#297)

* assert output is empty

* be consistent in style
parent 5a4f31d6
......@@ -33,11 +33,14 @@ def test_command_help():
def test_command_lib_list():
"""
When ouput is empty, nothing is printed out, no matter the output format
"""
result = run_command('lib list')
assert result.ok
assert result.stderr == ''
assert '' == result.stderr
result = run_command('lib list', '--format json')
assert '{}' == result.stdout
assert '' == result.stdout
def test_command_lib_install():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment