Skip to content

Commit a59776d

Browse files
committed
Fixup Org result test.
Previous work exposed a bug where `jupyter-org-result` did not get renamed to `jupyter-org-get-result` and the test fixture `jupyter-org-request` was missing a `:marker` value. This test needs the same fixes. No changes to implementation code.
1 parent c715176 commit a59776d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jupyter-test.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2141,7 +2141,7 @@ Image(filename='%s', width=300)" file)
21412141
;; `org-babel-python-table-or-string', this is more of a test for method
21422142
;; order.
21432143
(cl-letf* ((py-method-called nil)
2144-
(req (jupyter-org-request))
2144+
(req (jupyter-org-request :marker (jupyter-org-test (point-marker))))
21452145
((symbol-function #'org-babel-python-table-or-string)
21462146
(lambda (results)
21472147
(setq py-method-called t)
@@ -2152,7 +2152,7 @@ Image(filename='%s', width=300)" file)
21522152
(should (equal (jupyter-kernel-language jupyter-current-client) 'python))
21532153
;; Bring in the python specific methods
21542154
(jupyter-load-language-support jupyter-current-client)
2155-
(should (equal (jupyter-org-result req (list :text/plain "[1, 2, 3]"))
2155+
(should (equal (jupyter-org-get-result req (list :text/plain "[1, 2, 3]"))
21562156
"| 1 | 2 | 3 |\n"))
21572157
(should py-method-called)))
21582158

0 commit comments

Comments
 (0)