Why is My PyTest Passing When It Should Be Failing?
Hello! Quick one today: I was showing someone some pytests I had written when I noticed that my test was wrong: that is the expected and actual did not match. This seemed odd to me as I had written the tess some weeks ago and it ran successfully both on the build and also locally. This is where my test was asserting actual as expected… expected_test_add_all_failed_test_cases == actual_test_add_all_failed_test_cases … except of course, it wasn’t!