def METHOD_NAME(request, kube_apis):
    filtered_ns_1 = create_namespace_with_name_from_yaml(kube_apis.v1, f"filtered-ns-1", f"{TEST_DATA}/common/ns.yaml")
    filtered_ns_2 = create_namespace_with_name_from_yaml(kube_apis.v1, f"filtered-ns-2", f"{TEST_DATA}/common/ns.yaml")
    filtered_secret_1 = create_secret_from_yaml(
        kube_apis.v1, filtered_ns_1, f"{TEST_DATA}/filter-secrets/filtered-secret-1.yaml"
    )
    filtered_secret_2 = create_secret_from_yaml(
        kube_apis.v1, filtered_ns_2, f"{TEST_DATA}/filter-secrets/filtered-secret-2.yaml"
    )
    nginx_ingress_secret = create_secret_from_yaml(
        kube_apis.v1, "nginx-ingress", f"{TEST_DATA}/filter-secrets/nginx-ingress-secret.yaml"
    )
    wait_before_test(1)
    def fin():
        if request.config.getoption("--skip-fixture-teardown") == "no":
            print("Clean up:")
            if is_secret_present(kube_apis.v1, filtered_secret_1, filtered_ns_1):
                delete_secret(kube_apis.v1, filtered_secret_1, filtered_ns_1)
            if is_secret_present(kube_apis.v1, filtered_secret_2, filtered_ns_2):
                delete_secret(kube_apis.v1, filtered_secret_2, filtered_ns_2)
            if is_secret_present(kube_apis.v1, nginx_ingress_secret, "nginx-ingress"):
                delete_secret(kube_apis.v1, nginx_ingress_secret, "nginx-ingress")
            delete_namespace(kube_apis.v1, filtered_ns_1)
            delete_namespace(kube_apis.v1, filtered_ns_2)
    request.addfinalizer(fin)