Open SamWinterhalder opened 1 year ago
Hello,
I think I have this: when running locally, our readme set up instructions don't direct the user to set up environment variables for the following values in web/.env:
TEST_USER_PASSWORD TEST_USER_PASSWORD_BAD
As a result, these are null when the tests run, which prevents the tests logging in the user, and throws errors when the values are unexpectedly null.
I'd propose adding to our readme to set these values in their .env file to a valid password, and a password on the django list of common passwords:
TEST_USER_PASSWORD=LegitLong@@Pword11 TEST_USER_PASSWORD_BAD=pass
Does anyone have any other suggestions on how to resolve before I move ahead?
Adrian
I just started a new job, so I'm going to de-assign this for now. To be continued...
What did you expect?
Consistency when running tests locally and in CI
What actually happened?
When running
python3 manage.py test
locally in WSL, it runs all 33 tests butFAILED (failures=1, errors=6)
The same tests are all passing in CircleCI.
Impact
High
Urgency
Now
What browsers are you seeing the problem on?
No response
What operating system are you using?
No response
Relevant log output
Code of Conduct