mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 19:55:10 +02:00
Replace unnecessary pydantic import in matrix tests (#146693)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"""Test MatrixBot._login."""
|
||||
|
||||
from pydantic.dataclasses import dataclass
|
||||
from dataclasses import dataclass
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.matrix import MatrixBot
|
||||
@@ -17,7 +18,7 @@ class LoginTestParameters:
|
||||
access_token: dict[str, str]
|
||||
expected_login_state: bool
|
||||
expected_caplog_messages: set[str]
|
||||
expected_expection: type(Exception) | None = None
|
||||
expected_expection: type[Exception] | None = None
|
||||
|
||||
|
||||
good_password_missing_token = LoginTestParameters(
|
||||
|
Reference in New Issue
Block a user