Python REST API Integration Test Example
Author: Newtum
This example demonstrates a simple integration test for a REST API using Python. Unlike unit tests, integration tests make real calls to a live API endpoint (often in a test or staging environment) to verify its behavior.
Writing an Integration Test
The test makes a `GET` request to a public API and asserts that the response has a `200 OK` status code and that the returned data has the expected structure (e.g., contains certain keys).