Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3689

Update swatch-contacts billling account ids tests for local component testing

XMLWordPrintable

      This is a follow-up from SWATCH-3625 

      Update the tests to mockout the product_api:

      • test_get_billing_account_ids_current_month_boundary_via_subscription
      • test_get_billing_account_ids_via_subscription
      • test_get_billing_account_ids_no_product_tag

      The following rest call needs to return a mocked product: mock/product/products/MW02393/tree

       
      Setup for local component testing: https://inscope.corp.redhat.com/docs/default/Component/swatch-internal-docs/IQE/IQE%20local%20setup/

      Acceptance Criteria: The following should pass:
      iqe tests plugin rhsm_subscriptions -k test_get_billing_account_ids_via_subscription
      iqe tests plugin rhsm_subscriptions -k test_get_billing_account_ids_no_product_tag
      iqe tests plugin rhsm_subscriptions -k test_get_billing_account_ids_current_month_boundary_via_subscription

              jcarvaja@redhat.com Jose Carvajal Hilario
              buschv Vanessa Busch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: