mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
14 lines
527 B
EmacsLisp
14 lines
527 B
EmacsLisp
![]() |
(eval-when-compile (require 'cl))
|
||
|
(require 'ert)
|
||
|
(require 'ein-process)
|
||
|
|
||
|
(ert-deftest ein:process-check-suitable ()
|
||
|
(should-not (equal (ein:process-suitable-notebook-dir (concat default-directory "features/support")) (concat default-directory "features/support"))))
|
||
|
|
||
|
(ert-deftest ein:process-divine ()
|
||
|
(with-current-buffer "*scratch*"
|
||
|
(erase-buffer))
|
||
|
(ein:process-divine-dir 1 "" "*scratch*")
|
||
|
(ein:process-divine-port 1 "" "*scratch*")
|
||
|
(should (zerop (with-current-buffer "*scratch*" (length (buffer-string))))))
|