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

Update swatch-contacts usage_contexts tests for local component testing

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • True
    • subs-swatch

      This is a follow-up from SWATCH-3625 

      Update the test setups to mock out the product used:

      • test_get_aws_usage_context
      • test_get_azure_usage_context
      • test_get_rhm_usage_context (removed Red Hat Marketplace)

      currently failing because the mock hasn't been setup: mock/product/products/MW02393/tree

      The component tests should pass when run locally following the steps on 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_aws_usage_context
      iqe tests plugin rhsm_subscriptions -k test_get_azure_usage_context

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

                Created:
                Updated:
                Resolved: