pytest-lazy-fixture
pytest-lazy-fixture copied to clipboard
`pytest.lazy_fixture` doesn't exist in 0.4.2
When I downgraded it to 0.4.1, the problem is fixed.
Examples
- Broken: https://travis-ci.org/youknowone/itunes-iap/jobs/438342600
- Fixed: https://travis-ci.org/youknowone/itunes-iap/jobs/438538498
- Patch: https://github.com/youknowone/itunes-iap/commit/ef4a927db45c4f9c9e62ce9653d8a5efff906548
Yes, pytest_namespace
was deprecated and we started to use pytest_configure
, but the best way to use pytest_lazyfixture
would be to just import it from library: from pytest_lazyfixture import lazy_fixture
. Check out also this issue.
I will need to add this information to readme.
I looked this page to solve the problem: https://pypi.org/project/pytest-lazy-fixture/ And it seems it is the README file. (redistribution will be required, right?)
Maybe this is a preference, but I also think it shouldn't be 0.4.2
but 0.5.0
. After checking the docs, I also checked the version. And I didn't expect compatibility problem when I saw the last version was 0.4.1
Yeah, you are right, I've messed up version :) Next time need to be more careful
Duplicate of https://github.com/TvoroG/pytest-lazy-fixture/issues/22 ?
I think #22 is a combination of this issue and #24