File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11import copy
22import json
3- from pathlib import Path
4- from unittest .mock import patch
3+ import time
4+ from unittest .mock import patch , MagicMock
55
66import pytest
7- from delphi_nssp .constants import DATASET_ID
7+ from pathlib import Path
8+
89from delphi_nssp .run import run_module
10+ from delphi_nssp .constants import DATASET_ID
911
1012TEST_DIR = Path (__file__ ).parent
1113
1820with open (f"{ TEST_DIR } /test_data/page_100_hrr.json" , "r" ) as f :
1921 HRR_TEST_DATA = json .load (f )
2022
21- with open (f"{ TEST_DIR } /test_data/page_no_data.json" , "r" ) as f :
22- EMPTY_TEST_DATA = json .load (f )
23-
2423@pytest .fixture (scope = "session" )
2524def params ():
2625 params = {
@@ -98,4 +97,4 @@ def side_effect(*args, **kwargs):
9897 else :
9998 return []
10099 mock_get .side_effect = side_effect
101- run_module (params )
100+ run_module (params )
You can’t perform that action at this time.
0 commit comments