summaryrefslogtreecommitdiff
path: root/test/unit/conftest.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-12-22 16:39:34 +0100
committerWojtek Kosior <koszko@koszko.org>2021-12-22 16:39:34 +0100
commitb590eaa2f64ead3384eadc6fe58f6358aa1a0478 (patch)
tree8f1e9403c1a75246c2a9a0afc4ab30706ea7afbe /test/unit/conftest.py
parentb7378a9994724750198e0d165c575be8538334fb (diff)
downloadbrowser-extension-b590eaa2f64ead3384eadc6fe58f6358aa1a0478.tar.gz
browser-extension-b590eaa2f64ead3384eadc6fe58f6358aa1a0478.zip
reworked build system; added missing license notices
Diffstat (limited to 'test/unit/conftest.py')
-rw-r--r--test/unit/conftest.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/unit/conftest.py b/test/unit/conftest.py
index eec311c..f9a17f8 100644
--- a/test/unit/conftest.py
+++ b/test/unit/conftest.py
@@ -33,7 +33,6 @@ from selenium.webdriver.support import expected_conditions as EC
from ..profiles import firefox_safe_mode
from ..server import do_an_internet
-from ..script_loader import load_script
from ..extension_crafting import make_extension
@pytest.fixture(scope="package")
@@ -140,13 +139,6 @@ def execute_in_page(driver):
yield do_execute
@pytest.fixture()
-def load_into_page(driver):
- def do_load(path, import_dirs, *args):
- _execute_in_page_context(driver, load_script(path, import_dirs), args)
-
- yield do_load
-
-@pytest.fixture()
def wait_elem_text(driver):
def do_wait(id, text):
WebDriverWait(driver, 10).until(