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