Rest API - API Testing and Monitoring
Given this test code snippet for a REST API endpoint:
What does this test validate about the API contract?
response = client.get('/users/123')
assert response.status_code == 200
assert 'id' in response.json()
assert response.json()['id'] == 123What does this test validate about the API contract?
