def METHOD_NAME(request):
    client, cluster = get_user_client_and_cluster()
    create_kubeconfig(cluster)
    project, ns = create_project_and_ns(USER_TOKEN,
                                        cluster,
                                        random_test_name("websocket"))
    p_client = get_project_client_for_token(project, USER_TOKEN)
    con = [{"name": random_test_name(),
            "image": TEST_IMAGE,
            "entrypoint": ["/bin/sh"],
            "command": ["-c",
                        "while true; do echo websocket; sleep 1s; done;"
                        ],
            }]
    wl = p_client.create_workload(name=random_test_name(),
                                        containers=con,
                                        namespaceId=ns.id)
    validate_workload(p_client, wl, "deployment", ns.name)
    pod = p_client.list_pod(workloadId=wl.id).data[0]
    namespace["ns"] = ns.name
    namespace["pod"] = pod
    namespace["cluster"] = cluster
    namespace["shell_url"] = cluster.get("links").get("shell")
    def fin():
        client.delete(project)
    request.addfinalizer(fin)