From 20d3b82340ee4f1705f87a2cd5a68a6b38b26add Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 27 Sep 2023 20:23:11 +0200 Subject: [PATCH] fix test ... apparently the API now returns 405 when no action is specified, I guess that's okay --- test/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_auth.py b/test/test_auth.py index 1f557329..033901a2 100644 --- a/test/test_auth.py +++ b/test/test_auth.py @@ -180,7 +180,7 @@ class TestAuthAPI: def test_request_arg_without_action(self, moulinette_webapi, caplog, mocker): self.login(moulinette_webapi) - moulinette_webapi.get("/test-auth", status=404) + moulinette_webapi.get("/test-auth", status=405) class TestAuthCLI: