Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test fixtures #2459

Merged
merged 1 commit into from
Jan 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,15 @@ def async_create_task(coroutine):
ssl_certificate=None,
ssl_peer_certificate=None,
ssl_key=None,
trusted_proxies=[],
ssl_profile="modern",
)

await hass.http.async_initialize(
cors_origins=[],
use_x_forwarded_for=False,
trusted_proxies=[],
login_threshold=3,
is_ban_enabled=False,
ssl_profile="modern",
)

async def mock_async_start():
Expand Down
1 change: 0 additions & 1 deletion tests/tasks/test_setup_frontend.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# pylint: disable=missing-function-docstring,missing-module-docstring, protected-access
from unittest.mock import AsyncMock, MagicMock, patch

from aiohttp.client import request
from aresponses import ResponsesMockServer
import pytest

Expand Down