Replies: 1 comment 1 reply
-
The usual cause is that some other test is changing global state that is affecting this test. You can use detect-test-pollution to nail down which test is affecting |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any difference in the setup done when running a test using the file path Vs running it against a directory Vs running it using the pytest -m someMarker.
I have test that only passes when the whole directory runs but not when I run it individually.
The test is as follows
I'm struggling to understand what could cause this behaviour.
Beta Was this translation helpful? Give feedback.
All reactions