mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Fix failing tests due to the change in tab template
This commit is contained in:
parent
0af99780cb
commit
7b85ead1a8
1 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
|||
(kernel (oref ein:%notification% :kernel)))
|
||||
(oset ein:%notification% :tab (ein:testing-notification-tab-mock))
|
||||
(should (equal (ein:header-line)
|
||||
"IP[y]: [1] 2 3 "))))
|
||||
"IP[y]: /1\\ /2\\ /3\\"))))
|
||||
|
||||
(ert-deftest ein:header-line-kernel-status-busy ()
|
||||
(let* ((ein:%notification% (ein:notification "NotificationTest"))
|
||||
|
@ -23,7 +23,7 @@
|
|||
(ein:notification-status-set kernel
|
||||
'status_busy.Kernel)
|
||||
(should (equal (ein:header-line)
|
||||
"IP[y]: Kernel is busy... | [1] 2 3 "))))
|
||||
"IP[y]: Kernel is busy... | /1\\ /2\\ /3\\"))))
|
||||
|
||||
(ert-deftest ein:header-line-notebook-status-busy ()
|
||||
(let* ((ein:%notification% (ein:notification "NotificationTest"))
|
||||
|
@ -32,7 +32,7 @@
|
|||
(ein:notification-status-set notebook
|
||||
'notebook_saved.Notebook)
|
||||
(should (equal (ein:header-line)
|
||||
"IP[y]: Notebook is saved | [1] 2 3 "))))
|
||||
"IP[y]: Notebook is saved | /1\\ /2\\ /3\\"))))
|
||||
|
||||
(ert-deftest ein:header-line-notebook-complex ()
|
||||
(let* ((ein:%notification% (ein:notification "NotificationTest"))
|
||||
|
@ -47,7 +47,7 @@
|
|||
(ein:header-line)
|
||||
(concat "IP[y]: Saving Notebook... | "
|
||||
"Kernel is dead. Need restart. | "
|
||||
"[1] 2 3 ")))))
|
||||
"/1\\ /2\\ /3\\")))))
|
||||
|
||||
(ert-deftest ein:notification-and-events ()
|
||||
(let* ((notification (ein:notification "NotificationTest"))
|
||||
|
|
Loading…
Add table
Reference in a new issue