File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
import pytest
5
5
from sherlock_project .sites import SitesInformation
6
6
7
- def fetch_local_manifest () -> dict [str , dict [str , str ]]:
8
- sites_obj = SitesInformation (data_file_path = os .path .join (os .path .dirname (__file__ ), "../sherlock_project/resources/data.json" ))
7
+ def fetch_local_manifest (honor_exclusions : bool = True ) -> dict [str , dict [str , str ]]:
8
+ sites_obj = SitesInformation (data_file_path = os .path .join (os .path .dirname (__file__ ), "../sherlock_project/resources/data.json" ), honor_exclusions = honor_exclusions )
9
9
sites_iterable = {site .name : site .information for site in sites_obj }
10
10
return sites_iterable
11
11
@@ -27,7 +27,7 @@ def remote_schema():
27
27
28
28
def pytest_generate_tests (metafunc ):
29
29
if "chunked_sites" in metafunc .fixturenames :
30
- sites_info = fetch_local_manifest ()
30
+ sites_info = fetch_local_manifest (honor_exclusions = False )
31
31
params = [{name : data } for name , data in sites_info .items ()]
32
32
ids = list (sites_info .keys ())
33
33
metafunc .parametrize ("chunked_sites" , params , ids = ids )
You can’t perform that action at this time.
0 commit comments