Fix reporting on bad login (#6201)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2017-02-24 16:33:58 -08:00
1 parent df5866dd95
commit d6818c7015
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'})