11# coding: utf-8
22from ...config .config_loader import ConfigLoader
33from .abstract import config
4-
4+ from . mocked_init import MockedInit
55
66class TestGetExtraFacets :
77 def test_extra_facets_should_be_empty_by_default (self ):
@@ -13,7 +13,6 @@ def test_extra_facets_should_be_empty_by_default(self):
1313
1414 def test_extra_facets_should_be_set_from_start_urls_variables_browser (self ,
1515 monkeypatch ):
16- from .mocked_init import MockedInit
1716 monkeypatch .setattr ("selenium.webdriver.chrome" ,
1817 lambda x : MockedInit ())
1918 monkeypatch .setattr ("time.sleep" , lambda x : "" )
@@ -37,7 +36,6 @@ def test_extra_facets_should_be_set_from_start_urls_variables_browser(self,
3736
3837 def test_extra_facets_should_be_set_from_start_urls_variables_with_two_start_url_browser (
3938 self , monkeypatch ):
40- from .mocked_init import MockedInit
4139 monkeypatch .setattr ("selenium.webdriver.chrome" ,
4240 lambda x : MockedInit ())
4341 monkeypatch .setattr ("time.sleep" , lambda x : "" )
@@ -67,7 +65,6 @@ def test_extra_facets_should_be_set_from_start_urls_variables_with_two_start_url
6765
6866 def test_extra_facets_should_be_set_from_start_urls_variables_with_multiple_tags_browser (
6967 self , monkeypatch ):
70- from .mocked_init import MockedInit
7168 monkeypatch .setattr ("selenium.webdriver.chrome" ,
7269 lambda x : MockedInit ())
7370 monkeypatch .setattr ("time.sleep" , lambda x : "" )
0 commit comments