mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-04-28 11:36:25 +00:00
* Remove all global settings state * chore: remove autogenerated class * chore: cleanup * chore: merge conflicts
11 lines
315 B
Python
11 lines
315 B
Python
import pytest
|
|
from fastapi.testclient import TestClient
|
|
|
|
|
|
@pytest.mark.parametrize(
|
|
"test_client", [{"ui": {"enabled": True, "path": "/ui"}}], indirect=True
|
|
)
|
|
def test_ui_starts_in_the_given_endpoint(test_client: TestClient) -> None:
|
|
response = test_client.get("/ui")
|
|
assert response.status_code == 200
|