Closed adam-thomas closed 8 years ago
OK. So I have this test failure and I have no idea what the problem is.
There's one test (that I haven't touched) which is now not sending an email. The test I added is an exact duplicate of the other test, up to the point where the email is/isn't sent, aside from override_settings
. I've tried removing override_settings
, adding it to the original test, undoing the change in the notification function, and so on. There are no tests in the same file with the same name as the original. I HAVE NO IDEA WHAT'S GOING ON. Please help. D:
Bump? I need advice on this failure.
halp?
OK. If I delete the new test, the original test passes again.
What happens if you run the tests in reverse order?
I don't know if the --reverse
is ignored by run.py
, but the same failure occurs (???).
I've also tried explicitly setting email=something@unique.com
in each of the UserFactory.create()
declarations to dodge clashing, and that didn't work either.
This should fix it, thank you @Ian-Foote!
hooray, Travis is going green now :D
Updated
@incuna/backend review please?