new functional_tests.container_commands file discerns local from server containers; .base calls now calls reset_database() therefrom; .test_my_lists also discerns test server location for different session keys; functional_tests restored as app in core.settings

This commit is contained in:
Disco DeDisco
2026-02-03 22:14:55 -05:00
parent 55bb589f61
commit 449b40e12e
7 changed files with 70 additions and 10 deletions

View File

@@ -6,6 +6,8 @@ from selenium import webdriver
from selenium.common.exceptions import WebDriverException
from selenium.webdriver.common.by import By
from .container_commands import reset_database
MAX_WAIT = 5
@@ -30,6 +32,7 @@ class FunctionalTest(StaticLiveServerTestCase):
self.test_server = os.environ.get("TEST_SERVER")
if self.test_server:
self.live_server_url = 'http://' + self.test_server
reset_database(self.test_server)
def tearDown(self):
self.browser.quit()