Skip to content

Commit

Permalink
Update test_metadata_cache_clearing to create placeholder cache file (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
beeankha authored Jan 23, 2024
1 parent 36d5e3f commit 14cf8d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/core/test_subdir_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def test_metadata_cache_clearing(mocker, platform=OVERRIDE_PLATFORM):
fetcher = mocker.patch.object(
RepoInterface, "repodata_parsed", return_value={}
)
SubdirData(channel).cache_path_json.touch()

sd_a = SubdirData(channel)
precs_a = tuple(sd_a.query("zlib"))
Expand Down

0 comments on commit 14cf8d7

Please sign in to comment.