We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1763664 commit ad4f0d1Copy full SHA for ad4f0d1
tests/devices/test_file_cache.py
@@ -44,9 +44,7 @@ async def test_get_caches_in_memory(cache_file: pathlib.Path) -> None:
44
cache = FileCache(cache_file)
45
initial_data = await cache.get()
46
47
- with patch(
48
- "roborock.devices.file_cache.load_value", new_callable=AsyncMock
49
- ) as mock_load_value:
+ with patch("roborock.devices.file_cache.load_value", new_callable=AsyncMock) as mock_load_value:
50
# This call should use the in-memory cache
51
second_get_data = await cache.get()
52
assert second_get_data is initial_data
0 commit comments