File size: 388 Bytes
ef1ad9e |
1 2 3 4 5 6 7 8 9 10 |
# fetch loan applications for the consumer
def test_get_loan_applications(test_client, consumer_header):
url = "pipeline/applications"
response = test_client.get(url, headers=consumer_header)
assert response.status_code == 200
response = response.json()
assert response["status"] == 200
assert response["message"] == "Applications fetched successfully!"
|