diff --git a/app/tests/test_theme.py b/app/tests/test_theme.py index fe9aca53..a158b8f6 100644 --- a/app/tests/test_theme.py +++ b/app/tests/test_theme.py @@ -1,5 +1,6 @@ import os import re +import time from django.contrib.staticfiles import finders from django.test import Client @@ -39,6 +40,8 @@ class TestSettings(BootTestCase): theme.html_footer = "
hello
" theme.save() + time.sleep(0.5) + # Get a page res = c.get('/dashboard/', follow=True) body = res.content.decode("utf-8")