Skip to content

Commit d8e3e32

Browse files
committed
Set TEMPLATE_STRING_TO_INVALID to '' during testing.
- Legacy-Id: 6493
1 parent 239fa97 commit d8e3e32

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ietf/utils/test_runner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ def run_tests_1(test_labels, *args, **kwargs):
8787
if settings.SITE_ID != 1:
8888
print " Changing SITE_ID to '1' during testing."
8989
settings.SITE_ID = 1
90+
if settings.TEMPLATE_STRING_IF_INVALID != '':
91+
print " Changing TEMPLATE_STRING_IF_INVALID to '' during testing."
92+
settings.TEMPLATE_STRING_IF_INVALID = ''
9093
assert(not settings.IDTRACKER_BASE_URL.endswith('/'))
9194
kwargs["verbosity"] = kwargs["verbosity"]
9295
return django_run_tests(test_labels, *args, **kwargs)

0 commit comments

Comments
 (0)