diff --git a/lisp/ein-notebooklist.el b/lisp/ein-notebooklist.el index 71ed897..09e4515 100644 --- a/lisp/ein-notebooklist.el +++ b/lisp/ein-notebooklist.el @@ -158,6 +158,7 @@ To suppress popup, you can pass a function `ein:do-nothing' as CALLBACK." (unless path (setq path "")) (if (and (stringp url-or-port) (not (string-match-p "^https?" url-or-port))) (setq url-or-port (format "http://%s" url-or-port))) + (ein:log 'debug "NOTEBOOKLIST-OPEN: %s/%s" url-or-port path) (ein:subpackages-load) (let ((success (if no-popup diff --git a/tests/func-test.el b/tests/func-test.el index 56fbf2e..00f70b1 100644 --- a/tests/func-test.el +++ b/tests/func-test.el @@ -54,9 +54,9 @@ Make MAX-COUNT larger \(default 50) to wait longer before timeout." (ein:log 'debug "TESTING-START-SERVER logging in.") (multiple-value-bind (url token) (ein:jupyter-server-conn-info) (ein:log 'debug (format "TESTING-START-SERVER url: %s, token: %s" url token)) - (ein:notebooklist-login url token) (setq ein:testing-port url) (setq ein:testing-token token) + (ein:jupyter-server-login-and-open) (ein:log 'debug "TESTING-START-SERVER succesfully logged in.") url)))