Is it necessary that all running test should be passed for first time in local for contrbutions ?

Hi Vaishnavraj2509, ideally yes. It’s probably worth you spending 30 minutes or so investigating why this test is failing.

However, in my opinion it is not necessary for this one test to pass locally, unless the test that is failing are in the area that you’re going to be working in. In the case that you are going to be making changes in the area of the failing tests, then you definitely need to solve this before implementing any changes to Django.

However, my guess is that you aren’t since that’s one test out of 17,000. Just run the tests that are relevant to your change until you’re more comfortable to tackle the setup problem.

This other recent thread has a similar issue: Running tests first time to check Django installation

1 Like