mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
fix auth tests
This commit is contained in:
parent
53dd9fe973
commit
dd6a419528
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue