Fixed test_webui only failing in nix_sandbox

This commit is contained in:
Qubasa
2023-10-29 19:35:29 +01:00
parent e6675cb4d9
commit 4209da96e9
11 changed files with 146 additions and 26 deletions

View File

@@ -9,6 +9,6 @@ from clan_cli.webui.app import app
# TODO: Why stateful
@pytest.fixture(scope="session")
def api() -> TestClient:
logging.getLogger("httpx").setLevel(level=logging.WARNING)
# logging.getLogger("httpx").setLevel(level=logging.WARNING)
logging.getLogger("asyncio").setLevel(logging.INFO)
return TestClient(app)