Concept Flow - Test fixtures with pytest
Define fixture function
Mark with @pytest.fixture
Test function requests fixture
pytest runs fixture setup
Fixture returns resource
Test uses resource
Test finishes
Fixture teardown (optional)
Test suite continues or ends
This flow shows how pytest fixtures are defined, provided to tests, and optionally cleaned up after tests run.