8.5.1 Switching to StaticLiveServerTestCase

master
Jason Zhu 2020-11-11 19:22:46 +11:00
parent 4931ae9747
commit 79cb4da94d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
from django.test import LiveServerTestCase
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
@ -8,7 +8,7 @@ import unittest
MAX_WAIT = 10
class NewVisitorTest(LiveServerTestCase):
class NewVisitorTest(StaticLiveServerTestCase):
def setUp(self):
self.browser = webdriver.Firefox()