From ae8a177407d24eccd88dcf295abc6404b914a707 Mon Sep 17 00:00:00 2001 From: Restioson Date: Tue, 5 Nov 2024 13:02:38 +0200 Subject: [PATCH] drop! test linter error fails CI --- app/general/tests/test_filter.py | 4 ---- app/general/tests/test_frontend.py | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/general/tests/test_filter.py b/app/general/tests/test_filter.py index 26b39b7d..36f36190 100644 --- a/app/general/tests/test_filter.py +++ b/app/general/tests/test_filter.py @@ -46,10 +46,6 @@ def setUp(self): logo="logo1.png", ) - - - - def test_institution_filter(self): data = {"institution": [self.institution1.id]} filter = DocumentFilter(data=data) diff --git a/app/general/tests/test_frontend.py b/app/general/tests/test_frontend.py index 97779cd2..e7df8d04 100644 --- a/app/general/tests/test_frontend.py +++ b/app/general/tests/test_frontend.py @@ -1,9 +1,10 @@ from django.contrib.staticfiles.testing import StaticLiveServerTestCase from selenium.common import TimeoutException -from selenium.webdriver.chrome.webdriver import Options, WebDriver +from selenium.webdriver.chrome.webdriver import WebDriver, Options from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait + # Wait timeout in seconds WAIT_TIMEOUT = 5