(self, cache)
| 20 | |
| 21 | @pytest.mark.asyncio |
| 22 | async def test_set_and_get(self, cache): |
| 23 | await cache.set("/tmp/test.txt", "hello world") |
| 24 | result = await cache.get("/tmp/test.txt", read_through=False) |
| 25 | assert result == "hello world" |
| 26 | assert cache.size == 1 |
| 27 | |
| 28 | @pytest.mark.asyncio |
| 29 | async def test_invalidate(self, cache): |