Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cfme/tests/infrastructure/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def test_compare_templates(appliance, setup_provider_min_templates, provider, mi


@pytest.fixture
def provider_with_special_characters(provider):
def provider_with_special_characters(provider: AnsibleTowerProvider):
"""
Adds a special character sequence to extra_vars on a AWX provider to test BZ 1819310.
Note it seems the the AWX version 3.4 cannot be patched. It is refusing the request.
Expand Down Expand Up @@ -568,6 +568,10 @@ def provider_with_special_characters(provider):
json=empty_extra_vars)
assert response.ok

# Let's make sure the provider refreshes so if there was a regression -- special chars
# were problem, the problem would be isolated to only the test(s) using this fixture.
provider.refresh_provider_relationships()


@pytest.mark.meta(automates=[1819310])
@pytest.mark.provider(gen_func=providers_by_class,
Expand Down