generated from Luis/nextjs-python-web-template
add tests for machines api
This commit is contained in:
9
pkgs/clan-cli/tests/api.py
Normal file
9
pkgs/clan-cli/tests/api.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import pytest
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from clan_cli.webui.app import app
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def api() -> TestClient:
|
||||
return TestClient(app)
|
||||
Reference in New Issue
Block a user