Skip to content

Commit

Permalink
fix test problem
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed May 21, 2024
1 parent 4b4c4ef commit ffba4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def test_rearrange_data(zip_file): # noqa: ARG001
def test_load_dataset(requests_mock, zip_buffer):
json_path_user = USER_CONFIG_PATH.joinpath("datasets", "datasets.json")
data_name = "Test"
data_path_user = USER_DATA_PATH.joinpath("datasets", data_name)
_ = ds.load_datasets_dict() # to ensure datasets.json is in user dir
data_path_user = USER_DATA_PATH.joinpath("datasets", data_name)

if os.path.exists(data_path_user):
# remove dir even if it is not empty
Expand Down

0 comments on commit ffba4d7

Please sign in to comment.