summaryrefslogtreecommitdiff
path: root/cli/tools/jupyter
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-03-25 17:53:50 -0700
committerGitHub <noreply@github.com>2024-03-25 17:53:50 -0700
commitd6452b39460ee46ade1ed9a5c95e469fd23a812c (patch)
treee2d7e56464f90a7bf93d14e6b6a56afe0a6c933a /cli/tools/jupyter
parent0346e597bf2d95f5bfce20d3aadf697e9ee45fe4 (diff)
chore(tests): Introduce integration tests for `jupyter` subcommand (#23074)
Before this PR, we didn't have any integration tests set up for the `jupyter` subcommand. This PR adds a basic jupyter client and helpers for writing integration tests for the jupyter kernel. A lot of the code here is boilerplate, mainly around the message format for jupyter. This also adds a few basic integration tests, most notably for requesting execution of a snippet of code and getting the correct results.
Diffstat (limited to 'cli/tools/jupyter')
-rw-r--r--cli/tools/jupyter/server.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tools/jupyter/server.rs b/cli/tools/jupyter/server.rs
index bfdcdf1e1..f6218956d 100644
--- a/cli/tools/jupyter/server.rs
+++ b/cli/tools/jupyter/server.rs
@@ -396,6 +396,7 @@ impl JupyterServer {
.with_content(json!({
"status": "ok",
"execution_count": self.execution_count,
+ // FIXME: also include user_expressions
}))
.send(connection)
.await?;