Fix reporting on bad login (#6201)

This commit is contained in:
Paulus Schoutsen committed 2017-02-25 14:35:27 -08:00
1 parent 2566d01aaa
commit 505725f9d3
5 files changed
+28 -23

No files matched your search

-1
View File
@@ -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'})