You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
335 B
Python
12 lines
335 B
Python
def test_welcome_route(client):
|
|
message = "Welcome to runcible"
|
|
response = client.get("/")
|
|
content = response.json()
|
|
assert message == content.get("message")
|
|
|
|
def test_ping_route(client):
|
|
message = "pong"
|
|
response = client.get("/ping")
|
|
content = response.json()
|
|
assert message == content.get("message")
|