Commit 7b318db9 authored by Antony Chazapis's avatar Antony Chazapis
Browse files

Remove reference to TEST variable.

parent e6832b71
......@@ -41,7 +41,7 @@ from astakos.im.faults import BadRequest, Unauthorized, InternalServerError
from astakos.im.models import AstakosUser
def render_fault(request, fault):
if isinstance(fault, InternalServerError) and (settings.DEBUG or settings.TEST):
if isinstance(fault, InternalServerError) and (settings.DEBUG):
fault.details = format_exc(fault)
request.serialization = 'text'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment