We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4f31d commit 620a4c1Copy full SHA for 620a4c1
test/test_main.py
@@ -33,11 +33,14 @@ def test_command_help():
33
34
35
def test_command_lib_list():
36
+ """
37
+ When ouput is empty, nothing is printed out, no matter the output format
38
39
result = run_command('lib list')
40
assert result.ok
- assert result.stderr == ''
41
+ assert '' == result.stderr
42
result = run_command('lib list', '--format json')
- assert '{}' == result.stdout
43
+ assert '' == result.stdout
44
45
46
def test_command_lib_install():
0 commit comments