Skip to content

Commit 8096eb4

Browse files
committed
Remove per-type caching overrides
With DM-51735 a00cf81 this is no longer needed.
1 parent 3b3b5f4 commit 8096eb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_middleware_interface.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def setUp(self):
234234
inferDefaults=False)
235235
self.input_data = os.path.join(self.data_dir, "input_data")
236236
self.local_repo = make_local_repo(tempfile.gettempdir(), self.read_butler, instname)
237-
self.local_cache = DatasetCache(3, {"the_monster_20250219": 10, "template_coadd": 30})
237+
self.local_cache = DatasetCache(3)
238238
self.addCleanup(self.local_repo.cleanup) # TemporaryDirectory warns on leaks
239239

240240
config = ApdbSql.init_database(db_url=f"sqlite:///{self.local_repo.name}/apdb.db")
@@ -1287,9 +1287,9 @@ def setUp(self):
12871287
self.input_data = os.path.join(data_dir, "input_data")
12881288

12891289
local_repo = make_local_repo(tempfile.gettempdir(), read_butler, instname)
1290-
self.local_cache = DatasetCache(2, {"the_monster_20250219": 10, "template_coadd": 30})
1290+
self.local_cache = DatasetCache(2)
12911291
second_local_repo = make_local_repo(tempfile.gettempdir(), read_butler, instname)
1292-
self.second_local_cache = DatasetCache(2, {"the_monster_20250219": 10, "template_coadd": 30})
1292+
self.second_local_cache = DatasetCache(2)
12931293
# TemporaryDirectory warns on leaks; addCleanup also keeps the TD from
12941294
# getting garbage-collected.
12951295
self.addCleanup(tempfile.TemporaryDirectory.cleanup, local_repo)

0 commit comments

Comments
 (0)