tests/e2e: don't load core migration

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-11-23 22:05:19 +01:00
parent 060f19ce06
commit 6703c0a5d1
14 changed files with 6 additions and 44 deletions

View File

@ -53,6 +53,7 @@ class SeleniumTestCase(ChannelsLiveServerTestCase):
def setUp(self):
super().setUp()
# pylint: disable=invalid-name
self.maxDiff = None
self.wait_timeout = 60
self.driver = self._get_driver()
@ -91,11 +92,11 @@ class SeleniumTestCase(ChannelsLiveServerTestCase):
def output_container_logs(self, container: Optional[Container] = None):
"""Output the container logs to our STDOUT"""
ct = container or self.container
self.logger.debug("--------container logs", container=ct.image.tags[0])
for log in ct.logs().decode().split("\n"):
self.logger.debug(log, container=ct.image.tags[0])
self.logger.debug("--------end container logs", container=ct.image.tags[0])
_container = container or self.container
self.logger.debug("--------container logs", container=_container.image.tags[0])
for log in _container.logs().decode().split("\n"):
self.logger.debug(log, container=_container.image.tags[0])
self.logger.debug("--------end container logs", container=_container.image.tags[0])
def get_container_specs(self) -> Optional[dict[str, Any]]:
"""Optionally get container specs which will launched on setup, wait for the container to