def METHOD_NAME():
    tmp = tempfile.mkdtemp()
    with mock.patch.dict(os.environ, {"HOME": tmp}):
        install(user=True)
        data_dir = jupyter_data_dir()
    assert_is_spec(os.path.join(data_dir, "kernels", KERNEL_NAME))