Marsel
Marsel
Hi, @cb109! For now it's not possible to expand lazy fixture inside of nested objects. Here is a similar [issue](https://github.com/TvoroG/pytest-lazy-fixture/issues/22). I will not close it, because it's an issue anyway....
Hi! Thanks for informing me! So one day pytest will stop invoking pytest_namespace and the right way of using these plugins would be just importing them?
Hey! Can you show minimal example of broken test? Thanks for opening the issue!
Hi, @bigbZik! Thanks for reporting the issue, but currently `pytest.lazy_fixture` can only be used inside of `@pytest.mark.parametrize()` and `@pytest.fixture(params=[])`.
Hey! Thanks for pr! > Как там Казань? Все норм, только чутка холодновато сейчас :)
Hey! > Have you had a chance to review the code? Forget to send comments :)
Yes, `pytest_namespace` was [deprecated](https://docs.pytest.org/en/latest/deprecations.html#pytest-namespace) 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...
Yeah, you are right, I've messed up version :) Next time need to be more careful
I think #22 is a combination of this issue and #24
@bigbZik, Hi! Thanks for contribution! I'll check it out for sure on this week. Sorry for not answering)