def METHOD_NAME(self):
    # Install echo and ipython kernels - should be done after env patch
    self._install_kernel(
        kernel_name="echo",
        kernel_spec={
            "argv": [
                sys.executable,
                "-m",
                "jupyterlab.tests.echo_kernel",
                "-f",
                "{connection_file}",
            ],
            "display_name": "Echo Kernel",
            "language": "echo",
        },
    )
    paths = jupyter_core.paths
    ipykernel_dir = pjoin(paths.jupyter_data_dir(), "kernels", "ipython")
    write_kernel_spec(ipykernel_dir)