Remove None from dict.get(key, None) (#33794)
This commit is contained in:
1 parent
d54ee77375
commit
46bbe816f6
45 files changed
+104
-110
No files matched your search
@@ -33,7 +33,7 @@ async def test_network_unreachable(hass):
|
||||
hass, DOMAIN, {DOMAIN: {CONF_HOST: "fake_host", CONF_USERNAME: "fake_user"}}
|
||||
)
|
||||
assert result
|
||||
assert hass.data.get(DATA_ASUSWRT, None) is None
|
||||
assert hass.data.get(DATA_ASUSWRT) is None
|
||||
|
||||
|
||||
async def test_get_scanner_with_password_no_pubkey(hass):
|
||||
|
||||
Reference in new issue
Block a user