Casper van der Wel пре 1 година
родитељ
комит
b7cd5445e3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tests/api_client/test_sync_api_provider.py

+ 1 - 1
tests/api_client/test_sync_api_provider.py

@@ -120,7 +120,7 @@ def test_404(api_provider: SyncApiProvider, response):
     assert actual is None
 
 
-@pytest.mark.parametrize("status", [HTTPStatus.BAD_REQUEST, HTTPStatus.IM_A_TEAPOT])
+@pytest.mark.parametrize("status", [HTTPStatus.BAD_REQUEST, HTTPStatus.FORBIDDEN])
 def test_error_response(api_provider: SyncApiProvider, response, status):
     response.status = int(status)