浏览代码

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)