def METHOD_NAME(self, api_version, **kwargs):
    if self.is_live and api_version != DEFAULT_VERSION:
        pytest.skip("This test only uses the default API version for live tests")
    if self.is_live and self.managed_hsm_url is None:
        pytest.skip("No HSM endpoint for live testing")