diff options
Diffstat (limited to 'ipatests/test_xmlrpc/test_host_plugin.py')
-rw-r--r-- | ipatests/test_xmlrpc/test_host_plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipatests/test_xmlrpc/test_host_plugin.py b/ipatests/test_xmlrpc/test_host_plugin.py index ea8f49656..4d54dac4f 100644 --- a/ipatests/test_xmlrpc/test_host_plugin.py +++ b/ipatests/test_xmlrpc/test_host_plugin.py @@ -130,8 +130,10 @@ def this_host(request): """Fixture for the current master""" tracker = HostTracker(name=api.env.host.partition('.')[0], fqdn=api.env.host) - # This host is not created/deleted, so don't call make_fixture tracker.exists = True + # Finalizer ensures that any certificates added to this_host are removed + tracker.add_finalizer_certcleanup(request) + # This host is not created/deleted, so don't call make_fixture return tracker |