We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 914d897 commit 4bab32bCopy full SHA for 4bab32b
1 file changed
tests/devices/traits/v1/test_network_info.py
@@ -58,6 +58,6 @@ async def test_network_info_from_device(
58
59
# Verify it's now in the cache
60
cache_data = await roborock_cache.get()
61
- assert "roborock.vacuum.a15" in cache_data.network_info
62
- cached_info = cache_data.network_info[DEVICE_UID]
+ cached_info = cache_data.network_info.get(DEVICE_UID)
+ assert cached_info
63
assert cached_info.ip == "2.2.2.2"
0 commit comments