Test Application Root
This function tests the root endpoint of the application to ensure it returns the expected JSON response.
Source code in src/auth_service/test_main.py
| def test_app():
"""
Test Application Root
This function tests the root endpoint of the application to ensure it returns the expected JSON response.
"""
assert tmp_client.get("/").json() == {"msg": "auth_service"}
|