소스 검색

Py38 compat

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)