Пример #1
0
def test_custom_action_config_no_config(home_assistant_app_path):
    actual = get_custom_action_config(home_assistant_app_path)

    assert actual is None
Пример #2
0
def test_custom_action_config(kwik_e_mart_app_path):
    actual = get_custom_action_config(kwik_e_mart_app_path)

    assert "url" in actual
    assert actual["url"] == "http://0.0.0.0:8080/"