-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
5
-
False
-
-
True
-
subs-swatch
-
-
This is a follow-up from SWATCH-3625
Update the tests to run locally:
test_verify_subscription_sync_overwrites_invalid_records and- test_verify_contract_missing_purchase
The tests in `test_contracts_error.py` should pass.
`iqe tests plugin rhsm_subscriptions -k test_contracts_error`
Local Setup: https://inscope.corp.redhat.com/docs/default/Component/swatch-internal-docs/IQE/IQE%20local%20setup/
test_verify_contract_missing_purchase is failing https://github.com/RedHatInsights/rhsm-subscriptions/blob/main/swatch-contracts/src/main/java/com/redhat/swatch/contract/model/ContractOfferingMapper.java#L57
is throwing a 'Bad Request Exception' when it can't find sku MCT4701. The test is expecting a 500 error code back, not a 400