Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #10320 from jaryn/bad_awx_template_bz
Browse files Browse the repository at this point in the history
[RFR] Add refresh to the funky characters test fixture
  • Loading branch information
mshriver authored Sep 10, 2020
2 parents 63b3acd + 1204132 commit d1a9dc3
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit d1a9dc3

Please sign in to comment.