def test_custom_action_config_no_config(home_assistant_app_path): actual = get_custom_action_config(home_assistant_app_path) assert actual is None
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/"