fix auth tests

This commit is contained in:
Kay0u 2021-01-25 18:51:51 +01:00
parent 53dd9fe973
commit dd6a419528
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -329,8 +329,7 @@ class TestAuthCLI:
assert "12345" in message.out
mocker.patch("sys.exit")
with pytest.raises(MoulinetteError):
with pytest.raises(SystemExit):
moulinette_cli.run(
["testauth", "with_type_int", "yoloswag"], output_as="plain"
)