-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
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
fixture not found when using parametrized case from case file #128
Comments
Note: this is not related to |
Thanks @last-partizan ! Can you please try with latest version 2.2.0 released yesterday ? It seems to have fixed the issue. |
@smarie yep, this is working now! But i have another broken exmaple :))
produces:
|
Updating makefun to 1.9.3 should fix the problem. I'll update setup.py to enforce this. |
…buteError: 'functools.partial' object has no attribute '__module__'` mentioned in #128
This is fixed now! Thank you!
|
Thanks @last-partizan ! |
Hello, i found a strange behaviour when using parametrized cases.
Here is example:
test.py
test_cases.py
This is failing with "Fixture 'one' not found", but only when used parameter for case AND cases in separate file or class. When case with fixture in the same file, it works fine. Here is full test log:
poetry run pytest test.py
The text was updated successfully, but these errors were encountered: