Try to run e.g. test_TopN_controller_with_simulated_chems by itself, and compare the result with running test_TopN_controller_with_simulated_chems as part of running all the tests. The generated mzML files in the two cases are different. This means there are some global states that are somehow shared across all tests, affecting the test results depending on the order they are run?
We should really fix this so each test is independent of others!
Try to run e.g.
test_TopN_controller_with_simulated_chems
by itself, and compare the result with runningtest_TopN_controller_with_simulated_chems
as part of running all the tests. The generated mzML files in the two cases are different. This means there are some global states that are somehow shared across all tests, affecting the test results depending on the order they are run?We should really fix this so each test is independent of others!
https://stackoverflow.com/questions/51050076/with-pytest-why-are-single-test-results-different-from-running-all-tests