gokulakrishnansvm commented on code in PR #7443:
URL: https://github.com/apache/trafficcontrol/pull/7443#discussion_r1165811264
##########
traffic_ops/testing/api_contract/v4/conftest.py:
##########
@@ -471,3 +471,52 @@ def cachegroup_post_data(to_session: TOSession,
request_template_data: list[JSON
except IndexError:
logger.error("No Cache group response data from cdns POST
request.")
sys.exit(1)
+
+
[email protected]()
+def role_post_data(to_session: TOSession, request_template_data: list[JSONData]
+ ) -> dict[str, object]:
+ """
+ PyTest Fixture to create POST data for roles endpoint.
+
+ :param to_session: Fixture to get Traffic Ops session.
+ :param api_prerequisite_data: Fixture to get role data from a
prerequisites file.
Review Comment:
Updated it!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]