16 lines
335 B
Python
16 lines
335 B
Python
'''
|
|
Test application health check
|
|
'''
|
|
|
|
|
|
def test_ping(client, valid_credentials):
|
|
'''
|
|
Test application health check
|
|
'''
|
|
|
|
response = client.get("/ping",
|
|
headers={"Authorization":
|
|
"Basic " + valid_credentials})
|
|
|
|
assert response.json['operation'] == 'ping'
|