# 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!" | |