We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
` import pytest from pytest_lazy_fixtures import lf
@pytest.fixture(scope='session', params=[[1, 2], [3, 4], [5, 6]]) def zero(request): print('zero begin') print('zero:', request.param)
return request.param
@pytest.mark.parametrize('two', lf('zero')) def test_func(two): print('receive:', two)) pass
if name == 'main': pytest.main()
`
The text was updated successfully, but these errors were encountered:
Parameterize happens before fixtures
So they aren't avaliable for it
Sorry, something went wrong.
No branches or pull requests
`
import pytest
from pytest_lazy_fixtures import lf
@pytest.fixture(scope='session', params=[[1, 2], [3, 4], [5, 6]])
def zero(request):
print('zero begin')
print('zero:', request.param)
@pytest.mark.parametrize('two', lf('zero'))
def test_func(two):
print('receive:', two))
pass
if name == 'main':
pytest.main()
`
The text was updated successfully, but these errors were encountered: