kopia lustrzana https://github.com/OpenDroneMap/WebODM
Sleep
rodzic
e55ef9726a
commit
1c24acf001
|
@ -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")
|
||||||
|
|
Ładowanie…
Reference in New Issue