2025-06-27 00:48:49 +02:00
|
|
|
from fastapi.testclient import TestClient
|
|
|
|
|
|
|
|
from test_woodpecker.main import app
|
|
|
|
|
|
|
|
client = TestClient(app)
|
2025-06-24 11:19:39 +02:00
|
|
|
|
|
|
|
|
2025-06-27 00:48:49 +02:00
|
|
|
def test_read_main():
|
|
|
|
response = client.get("/")
|
|
|
|
assert response.status_code == 200
|
|
|
|
assert response.json()["msg"] == "Hello World"
|
|
|
|
|
|
|
|
|
|
|
|
def test_ok():
|
|
|
|
assert True
|