This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
[1LP][WIPTEST] Added required_test_flag check for non v2v tests #9934
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes non v2v tests collecting for v2v providers .
'required_test_flag' is added to all v2v providers in yaml
All v2v tests should have the required_flag="v2v"
If a non v2v test does not have "required_flag" and the provider does then that test will not collect for those providers.
{{ pytest: --use-provider rhv43 --use-provider vsphere67-nested --use-provider vsphere60-ims --use-provider rhv-ims --collect-only cfme/tests/control/test_compliance.py cfme/tests/v2v/test_v2v_migrations.py }}
Dependent MR - https://gitlab.cee.redhat.com/cfme-qe/cfme-qe-yamls/merge_requests/901