5 lines
128 B
Python
5 lines
128 B
Python
import pytest
|
|
|
|
def test_ping(client):
|
|
response = client.get("/ping")
|
|
assert b"{\"message\":\"pong\"}\n" in response.data |