emacs-jupyter/test
Nathaniel Nicandro 1ac3d658e9 Simplify connection file removal
This is mostly a refactor of the old behavior except now the removal
of connection files happens in `kill-emacs-hook` and also when
cleaning up dead kernel processes.

* jupyter-env.el
(jupyter-write-connection-file): Turn into a `defun`.  Remove the
connection file removal code.

* jupyter-kernel-process-manager.el
(jupyter--kernel-processes): Mention new form of elements in doc.
(jupyter-delete-connection-files): New function.  Add it to
`kill-emacs-hook` at top-level.
(jupyter--gc-kernel-processes):
(jupyter--start-kernel-processes): Use new form of
`jupyter--kernel-processes`.
(jupyter-local-tcp-conn-info): Relocate to...

* test/jupyter-test.el: ...here.
(jupyter-write-connection-file): Update test.
2023-02-13 20:21:14 -06:00
..
jupyter-server-test.el Add jupyter-kernel.el and related 2023-02-13 20:21:14 -06:00
jupyter-test.el Simplify connection file removal 2023-02-13 20:21:14 -06:00
jupyter-tramp-test.el Ensure all tests that rely on the REST API have a server tag 2023-02-13 20:21:14 -06:00
test-helper.el Replace jupyter-channel-ioloop-comm internals with new impl. 2023-02-13 20:21:14 -06:00