Skip to content

Commit ad4f0d1

Browse files
committed
chore: fix lint
1 parent 1763664 commit ad4f0d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/devices/test_file_cache.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ async def test_get_caches_in_memory(cache_file: pathlib.Path) -> None:
4444
cache = FileCache(cache_file)
4545
initial_data = await cache.get()
4646

47-
with patch(
48-
"roborock.devices.file_cache.load_value", new_callable=AsyncMock
49-
) as mock_load_value:
47+
with patch("roborock.devices.file_cache.load_value", new_callable=AsyncMock) as mock_load_value:
5048
# This call should use the in-memory cache
5149
second_get_data = await cache.get()
5250
assert second_get_data is initial_data

0 commit comments

Comments
 (0)