From 246d00bddec4e936b5f4ffb7c86d8c53a80f79c7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 21 Jun 2020 00:26:29 +0200 Subject: [PATCH] e2e: fix lint error --- e2e/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/utils.py b/e2e/utils.py index 138fdd7f0..2683bf1da 100644 --- a/e2e/utils.py +++ b/e2e/utils.py @@ -20,7 +20,7 @@ from passbook.core.models import User @lru_cache # pylint: disable=invalid-name -def USER() -> User: +def USER() -> User: # noqa """Cached function that always returns pbadmin""" return User.objects.get(username="pbadmin") @@ -41,6 +41,7 @@ class SeleniumTestCase(StaticLiveServerTestCase): def setUp(self): super().setUp() self.driver = self._get_driver() + self.driver.maximize_window() self.driver.implicitly_wait(5) self.wait = WebDriverWait(self.driver, 10) self.apply_default_data()