1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import pytest @pytest.fixture(scope="module", params=range(966)) def foo(request): return request.param def test_it(foo): pass def test_it2(foo): pass