Fix reporting on bad login (#6201)
This commit is contained in:
1 parent
2566d01aaa
commit
505725f9d3
5 files changed
+28
-23
No files matched your search
@@ -97,7 +97,6 @@ class TestHttp:
|
||||
with patch('homeassistant.components.http.'
|
||||
'ban.get_real_ip',
|
||||
return_value=ip_address("200.201.202.204")):
|
||||
print("GETTING API")
|
||||
return requests.get(
|
||||
_url(const.URL_API),
|
||||
headers={const.HTTP_HEADER_HA_AUTH: 'Wrong password'})
|
||||
|
||||
Reference in new issue
Block a user