From 79cb4da94d4452944e22efd1625d89835c8edce5 Mon Sep 17 00:00:00 2001 From: JasonHomeWorkstationUbuntu Date: Wed, 11 Nov 2020 19:22:46 +1100 Subject: [PATCH] 8.5.1 Switching to StaticLiveServerTestCase --- src/functional_tests/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functional_tests/tests.py b/src/functional_tests/tests.py index d1de157..c856329 100644 --- a/src/functional_tests/tests.py +++ b/src/functional_tests/tests.py @@ -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()