Update test_http.py

pull/19395/head
Paulus Schoutsen 2018-12-17 12:11:33 +01:00
parent fd21d6cc9d
commit 7be197b845
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ def test_forward_request(hassio_client):
])
def test_auth_required_forward_request(hassio_noauth_client, build_type):
"""Test auth required for normal request."""
resp = yield from hassio_noauth_client.post("/api/hassio/{}".format(build_type))
resp = yield from hassio_noauth_client.post(
"/api/hassio/{}".format(build_type))
# Check we got right response
assert resp.status == 401