Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix test, set takes an iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Jul 20, 2022
1 parent 2151474 commit 43e0030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/util/test_dict_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def test_multi_insert(self):

seq = self.cache.sequence
test_value_1 = {"test": "test_simple_cache_hit_miss_partial"}
self.cache.update(seq, key, test_value_1, fetched_keys=set("test"))
self.cache.update(seq, key, test_value_1, fetched_keys={"test"})

seq = self.cache.sequence
test_value_2 = {"test2": "test_simple_cache_hit_miss_partial2"}
self.cache.update(seq, key, test_value_2, fetched_keys=set("test2"))
self.cache.update(seq, key, test_value_2, fetched_keys={"test2"})

c = self.cache.get(key, dict_keys=["test", "test2"])
self.assertEqual(
Expand Down

0 comments on commit 43e0030

Please sign in to comment.