Skip to content

Commit 0635eae

Browse files
committed
revert conftest.py
1 parent 8c51c50 commit 0635eae

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

nssp/tests/conftest.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import copy
22
import json
3-
from pathlib import Path
4-
from unittest.mock import patch
3+
import time
4+
from unittest.mock import patch, MagicMock
55

66
import pytest
7-
from delphi_nssp.constants import DATASET_ID
7+
from pathlib import Path
8+
89
from delphi_nssp.run import run_module
10+
from delphi_nssp.constants import DATASET_ID
911

1012
TEST_DIR = Path(__file__).parent
1113

@@ -18,9 +20,6 @@
1820
with 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")
2524
def 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)

0 commit comments

Comments
 (0)