pull/1333/head
Piero Toffanin 2023-04-27 15:40:49 -04:00
rodzic e55ef9726a
commit 1c24acf001
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -1,5 +1,6 @@
import os import os
import re import re
import time
from django.contrib.staticfiles import finders from django.contrib.staticfiles import finders
from django.test import Client from django.test import Client
@ -39,6 +40,8 @@ class TestSettings(BootTestCase):
theme.html_footer = "<p>hello</p>" theme.html_footer = "<p>hello</p>"
theme.save() theme.save()
time.sleep(0.5)
# Get a page # Get a page
res = c.get('/dashboard/', follow=True) res = c.get('/dashboard/', follow=True)
body = res.content.decode("utf-8") body = res.content.decode("utf-8")