You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_user3 test is failing because it uses the Hypothesis given which can't be used with function scoped fixtures.
Error:
FAILED src/test/test_current.py::test_user3 - hypothesis.errors.FailedHealthCheck: src/test/test_current.py::test_user3 uses the 'session' fixture, which is reset between function calls but not between test cases generated by `@given(...)`. You can change it to a module- or session-scoped fixture if it is safe to reuse; if not we recommend using a context manager inside your test function.
test_user3 test is failing because it uses the Hypothesis
given
which can't be used with function scoped fixtures.Error:
Switching to an older version should help:
https://hypothesis.readthedocs.io/en/latest/changes.html#hypothesis-5-x
Info on why it's not working:
https://hypothesis.works/articles/hypothesis-pytest-fixtures/
The text was updated successfully, but these errors were encountered: