From 910d180d13fc08a1d423d8663859dce481a84939 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Thu, 16 Sep 2021 10:05:58 -0500 Subject: [PATCH] Update test_graphql_query.py Moves to `add_to_facts` --- tests/unit/action/test_graphql_query.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/action/test_graphql_query.py b/tests/unit/action/test_graphql_query.py index 6dd8c593..2ca940be 100644 --- a/tests/unit/action/test_graphql_query.py +++ b/tests/unit/action/test_graphql_query.py @@ -30,12 +30,12 @@ def test_setup_api_error_incorrect_validate_certs(nautobot_valid_args): assert str(exc.value) == "validate_certs must be a boolean" -def test_setup_api_error_incorrect_populate_root(nautobot_valid_args): - nautobot_valid_args["populate_root"] = "Hi" +def test_setup_api_error_incorrect_add_to_facts(nautobot_valid_args): + nautobot_valid_args["add_to_facts"] = "Hi" with pytest.raises(AnsibleError) as exc: test_class = nautobot_action_graphql(args=nautobot_valid_args) - assert str(exc.value) == "populate_root must be a boolean" + assert str(exc.value) == "add_to_facts must be a boolean" def test_query_api_query_error_none(nautobot_valid_args):