mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Update test_http.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user