Skip to content

Commit 5ae76a5

Browse files
committed
Fix path to dataset
1 parent f9d5377 commit 5ae76a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

testing_tools/real_apis/large_data_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
def load_data() -> dict:
14-
with (Path(__file__) / ".." / ".." / "large_data_set.json").open() as f:
14+
with (Path(__file__) / ".." / ".." / "large_data_set.json").resolve().open() as f:
1515
data = json.load(f)
1616
return data
1717

testing_tools/real_apis/spotify-swagger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def to_representation(self) -> str:
2323

2424

2525
def load_data() -> dict:
26-
with (Path(__file__) / ".." / ".." / "spotify-swagger.yaml").open() as f:
26+
with (Path(__file__) / ".." / ".." / "spotify-swagger.yaml").resolve().open() as f:
2727
data = yaml.load(f, Loader=yaml.SafeLoader)
2828
return data
2929

testing_tools/real_apis/swagger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def to_representation(self) -> str:
2222

2323

2424
def load_data() -> dict:
25-
with (Path(__file__) / ".." / ".." / "swagger.json").open() as f:
25+
with (Path(__file__) / ".." / ".." / "swagger.json").resolve().open() as f:
2626
data = json.load(f)
2727
return data
2828

0 commit comments

Comments
 (0)