diff --git a/test/test_main.py b/test/test_main.py index 5d03b6a9c35..839c774592e 100644 --- a/test/test_main.py +++ b/test/test_main.py @@ -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():