Fix `test_inspect_main_noargs`

This commit is contained in:
Adam Turner
2023-08-16 23:49:30 +01:00
parent ddf8a8e7d4
commit 9d8ef833db

View File

@@ -478,8 +478,7 @@ def test_getsafeurl_unauthed():
def test_inspect_main_noargs(capsys):
"""inspect_main interface, without arguments"""
with pytest.raises(SystemExit):
inspect_main([])
assert inspect_main([]) == 1
expected = (
"Print out an inventory file.\n"