Skip to content

Commit

Permalink
Skip test for ip inspection until fix is available in fastapi
Browse files Browse the repository at this point in the history
  • Loading branch information
tomclement committed Mar 23, 2024
1 parent 7d8f23d commit 909d29b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_inspection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import pytest
from fastapi.testclient import TestClient

from api.main import api
Expand All @@ -12,6 +13,7 @@ def test_inspection_headers():
assert response.status_code == 200


@pytest.mark.skip(reason="until fastapi supports starlette>=0.37.2 with fix in https://github.com/encode/starlette/pull/2525")
def test_inspection_ip():
response = client.get("ip")
assert response.status_code == 200
Expand Down

0 comments on commit 909d29b

Please sign in to comment.