diff --git a/tests/unit_tests/service/test_rest_api.py b/tests/unit_tests/service/test_rest_api.py index c62975c44..034819e20 100644 --- a/tests/unit_tests/service/test_rest_api.py +++ b/tests/unit_tests/service/test_rest_api.py @@ -184,7 +184,7 @@ class MyModel(BaseModel): assert response.json() == { "detail": ( "\n Input validation failed: id: Field required,\n" - " suppplied params {},\n" + " supplied params {},\n" " do not match the expected params: {'properties': {'id': " "{'title': 'Id', 'type': 'string'}}, 'required': ['id'], 'title': " "'MyModel', 'type': 'object'}\n " diff --git a/tests/unit_tests/worker/devices.py b/tests/unit_tests/worker/devices.py index 469440700..e6dadc53c 100644 --- a/tests/unit_tests/worker/devices.py +++ b/tests/unit_tests/worker/devices.py @@ -40,9 +40,9 @@ def _run_callbacks(self) -> None: class AdditionalStatusDevice(Device, Movable): - def set(self, value: float) -> Status: + def set(self, value: float) -> Status: # type: ignore status = AdditionalUpdateStatus(self) - return status + return status # type: ignore def additional_status_device(name="additional_status_device") -> AdditionalStatusDevice: