summaryrefslogtreecommitdiff
path: root/tests/unittests/sources/test_vmware.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/sources/test_vmware.py')
-rw-r--r--tests/unittests/sources/test_vmware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/sources/test_vmware.py b/tests/unittests/sources/test_vmware.py
index dcdbda89..dd331349 100644
--- a/tests/unittests/sources/test_vmware.py
+++ b/tests/unittests/sources/test_vmware.py
@@ -57,7 +57,7 @@ runcmd:
"""
-@pytest.yield_fixture(autouse=True)
+@pytest.fixture(autouse=True)
def common_patches():
with mock.patch("cloudinit.util.platform.platform", return_value="Linux"):
with mock.patch.multiple(