8.5.1 Switching to StaticLiveServerTestCase
parent
4931ae9747
commit
79cb4da94d
|
@ -1,4 +1,4 @@
|
||||||
from django.test import LiveServerTestCase
|
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
|
||||||
|
|
||||||
from selenium import webdriver
|
from selenium import webdriver
|
||||||
from selenium.webdriver.common.keys import Keys
|
from selenium.webdriver.common.keys import Keys
|
||||||
|
@ -8,7 +8,7 @@ import unittest
|
||||||
|
|
||||||
MAX_WAIT = 10
|
MAX_WAIT = 10
|
||||||
|
|
||||||
class NewVisitorTest(LiveServerTestCase):
|
class NewVisitorTest(StaticLiveServerTestCase):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.browser = webdriver.Firefox()
|
self.browser = webdriver.Firefox()
|
||||||
|
|
Loading…
Reference in New Issue