Bakalarska_praca/tests/server/utils/test_auth.py
oleh 959a391334
Some checks failed
publish docs / publish-docs (push) Has been cancelled
release-please / release-please (push) Has been cancelled
tests / setup (push) Has been cancelled
tests / ${{ matrix.quality-command }} (black) (push) Has been cancelled
tests / ${{ matrix.quality-command }} (mypy) (push) Has been cancelled
tests / ${{ matrix.quality-command }} (ruff) (push) Has been cancelled
tests / test (push) Has been cancelled
tests / all_checks_passed (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
add self code
2024-09-27 18:52:16 +02:00

7 lines
220 B
Python

from fastapi.testclient import TestClient
def test_default_does_not_require_auth(test_client: TestClient) -> None:
response_before = test_client.get("/v1/ingest/list")
assert response_before.status_code == 200