diff --git a/apps/devops/tests/routes/__init__.py b/apps/devops/tests/routes/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/apps/devops/tests/routes/test_hello_world.py b/apps/devops/tests/routes/test_hello_world.py new file mode 100644 index 0000000..285d174 --- /dev/null +++ b/apps/devops/tests/routes/test_hello_world.py @@ -0,0 +1,9 @@ +from fastapi.testclient import TestClient +from app.main import app # Adjust this import if your app is in a different location + +client = TestClient(app) + +def test_hello_world(): + response = client.get("/api/hello_world/") + assert response.status_code == 200 + assert response.json() == {"message": "Hello, World!"} # Update if your endpoint returns different data \ No newline at end of file