more robust test mode checking

This commit is contained in:
Chris Meyers
2016-10-03 09:28:01 -04:00
parent 9b451076fc
commit 203df91a5d
2 changed files with 5 additions and 1 deletions

View File

@@ -30,6 +30,9 @@ def is_testing(argv=None):
return True
return False
def IS_TESTING(argv=None):
return is_testing(argv)
DEBUG = True
TEMPLATE_DEBUG = DEBUG
SQL_DEBUG = DEBUG