Skip to content

Commit 6b4cf4b

Browse files
committed
testing ci/cd
1 parent e6c5460 commit 6b4cf4b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

project/app/api/ping.py

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

project/tests/test_ping.py

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

0 commit comments

Comments
 (0)