-
Task
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
False
-
-
False
-
-
Currently there is not a way to automatically test the billable usage that is sent to Azure Marketplace.
Once we have a method to mock/intercept the usage being sent for automated testing, this card is to add some test coverage for it.
AC:
- Create helper functions that verifies Azure usage sent to the mock service
- AWS Moto Example:
https://gitlab.cee.redhat.com/insights-qe/iqe-rhsm-subscriptions-plugin/-/blob/master/iqe_rhsm_subscriptions/__init__.py?ref_type=heads#L2425 - https://gitlab.cee.redhat.com/insights-qe/iqe-rhsm-subscriptions-plugin/-/blob/master/iqe_rhsm_subscriptions/__init__.py?ref_type=heads#L2446
- AWS Moto Example:
- The following tests should be updated to verify usage for Azure:
- test_verify_multi_cloud_provider_usage
-
- test_verify_rhel_payg_kafka_event_azure