I'm writing some tests with Selenium.
When i run my selenium tests (LiveServerTestCase
type) and i have some error in my code (not in the test, i mean in the code executed, like the homepage view i reach with selenium) i get the 500 template (that usually i get when i have DEBUG = False) even if i have:
DEBUG = True
INTERNAL_IPS = ('127.0.0.1',)
I'm stuck with that and i can't see why my test failed (because in the public 500 i don't show the exceptions).
Why does it behave like that? Where can i look to resolve?
When i run the runserver it works perfectly (i get the tracebacks).