From d65bb18d56ab0a6da28360a1080ec36b1d1eb818 Mon Sep 17 00:00:00 2001 From: Thomas Hahn Date: Sat, 8 Jun 2024 14:36:19 +0200 Subject: [PATCH] forgot a file --- tests/actions/test_group_actions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/actions/test_group_actions.py b/tests/actions/test_group_actions.py index 9ea5f9c..37f5b16 100644 --- a/tests/actions/test_group_actions.py +++ b/tests/actions/test_group_actions.py @@ -1,6 +1,6 @@ import pytest -from homematicip.action.group_actions import group_action_set_switch_state +from homematicip.action.group_actions import action_set_switch_state_group from homematicip.connection.rest_connection import RestConnection, RestResult from homematicip.model.model_components import Group from homematicip.runner import Runner @@ -23,12 +23,12 @@ def sample_group() -> Group: async def test_wrong_group_type(runner, sample_group): sample_group.type = "ASDF" with pytest.raises(ValueError): - await group_action_set_switch_state(runner.rest_connection, sample_group, True) + await action_set_switch_state_group(runner.rest_connection, sample_group, True) @pytest.mark.asyncio async def test_group_set_switch_state(runner, sample_group): sample_group.type = "SWITCHING" - await group_action_set_switch_state(runner.rest_connection, sample_group, True) + await action_set_switch_state_group(runner.rest_connection, sample_group, True) runner.rest_connection.async_post.assert_called_once_with("group/switching/setState", {"groupId": sample_group.id, "on": True})