Update unit tests to not pull in version warnings

This commit is contained in:
beeankha
2020-05-15 09:24:43 -04:00
committed by AlanCoding
parent 81eb9bb78a
commit 8c5d236066
+1 -1
View File
@@ -245,7 +245,7 @@ def silence_deprecation():
yield this_mock
@pytest.fixture
@pytest.fixture(autouse=True)
def silence_warning():
"""Warnings use global variable, same as deprecations."""
with mock.patch('ansible.module_utils.basic.AnsibleModule.warn') as this_mock: