You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
azure:
name: ms azure
type: azure
server_zone: default
region: East US
region_name: East US
tenant_id: xxxxxxxx
subscription_id: xxxxxxx
endpoints:
default:
credentials: azure
tags:
- default
Run "pytest --collect-only --use-provider azure cfme/tests/cloud/test_providers.py". returns both common and msdn tests:
The string passed to --use-provider is used to match on either the provider key or on one of its tags. This behavior is due to the fact that there is also a provider tag named 'azure' in the yaml file, on both the azure and azure_msdn providers. A workaround/fix would be either to remove/change the name of the tag, or to change the provider key for 'azure' to something unique, e.g., 'azure-common'.
@jeffreyluo0428 Thanks for reporting your test collection issue!
Can you confirm that you only have one azure provider defined in your cfme_data.yaml when you run the test collection? I think @tpapaioa is assuming you have multiple providers that include the azure tag.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add the azure info in data.yaml as follows:
Run "pytest --collect-only --use-provider azure cfme/tests/cloud/test_providers.py". returns both common and msdn tests:
Expect to see only azure-common testcases collected
The text was updated successfully, but these errors were encountered: