1 2 3 4 5 6 7 8 9
import funk import pytest @pytest.fixture(name="mocks") def _fixture_mocks(): mocks = funk.Mocks() yield mocks mocks.verify()