tests/e2e: use StaticLiveServerTestCase

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-24 11:32:45 +01:00
parent 28d39f4d80
commit 2dbd76cf90

View file

@ -6,8 +6,8 @@ from os import environ, makedirs
from time import sleep, time
from typing import Any, Callable, Optional
from channels.testing import ChannelsLiveServerTestCase
from django.apps import apps
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
from django.db import connection
from django.db.migrations.loader import MigrationLoader
from django.db.migrations.operations.special import RunPython
@ -44,7 +44,7 @@ def get_docker_tag() -> str:
return f"gh-{branch_name}"
class SeleniumTestCase(ChannelsLiveServerTestCase):
class SeleniumTestCase(StaticLiveServerTestCase):
"""StaticLiveServerTestCase which automatically creates a Webdriver instance"""
container: Optional[Container] = None