Skip to content

Commit 4a1ce1c

Browse files
committed
updates
1 parent 48b14fe commit 4a1ce1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

project/app/api/ping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@router.get("/ping")
99
async def pong(settings: Settings = Depends(get_settings)):
1010
return {
11-
"ping": "pong!",
11+
"ping": "pong",
1212
"environment": settings.environment,
1313
"testing": settings.testing,
1414
}

project/tests/test_ping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
def test_ping(test_app):
22
response = test_app.get("/ping")
33
assert response.status_code == 200
4-
assert response.json() == {"environment": "dev", "ping": "pong!", "testing": True}
4+
assert response.json() == {"environment": "dev", "ping": "pong", "testing": True}

0 commit comments

Comments
 (0)