millejoh
84f478aed6
Improving ipython 3 support in testein.py. Lots of fixes for notebook tests to
...
properly test nbformat 3 notebooks.
2015-02-02 13:20:24 -06:00
millejoh
d5b41c8f5d
For testing reading and writing nbformats v3 (for IPython 2.x) and
...
v4 (for IPython-dev/3.0), many example notebooks.
2015-01-07 20:50:49 -06:00
John Miller
cbf4938d76
Make ein:query-ipython-version less whiny.
...
Calling ein:query-ipython-version with IPython 2.x running will result
in a request error since the api REST url is not implemented. Getting a
404 response is inevitable unless the IPython devs backport the api URL,
but I can make ein complain less when this happens.
2014-12-16 14:26:51 -06:00
John Miller
fe7dc935c5
Fixing notebooklist-new-notebook
...
IPython 2.x+ has a JSON response when creating a new notebook. We detect
this and correctly parse the info so we can open a buffer with the newly
created notebook.
Also more updating of test code.
2014-12-04 13:52:36 -06:00
John Miller
57a89bb112
Fixing test cases for ipython 2.x
...
Incorporating changes to REST api and nbformat that came with ipython
2.0.
2014-12-04 10:14:10 -06:00
John Miller
8aece1758b
Fixing ein:connect-to-notebook
...
ein:connect-to-notebook seems to work now...
2014-12-03 19:44:02 -06:00
Takafumi Arakaki
0d7cf29002
Run test with curl and url-retrieve
2013-01-16 21:01:00 +01:00
Takafumi Arakaki
3966a6c22f
Fix ein:testing-delete-notebook-by-name
...
ein:notebooklist-reload, which is called from success
callback of ein:notebooklist-delete-notebook, needs to
access ein:%notebooklist%. However it was set to nil
in ein:testing-delete-notebook-by-name just after the
delete button is "clicked". This was meant to detect
if the delete process is finished, but was not working.
To solve this problem, I add ein:notebooklist-after-open-hook
and use it to detect end of the delete process.
2012-12-30 15:59:16 +01:00
Takafumi Arakaki
3328dcc099
Fix tests in tests/test-ein-kernel.el
2012-12-29 18:55:06 +01:00
Takafumi Arakaki
1fdfda039c
Add tests for ein:choose-setting
2012-12-06 23:16:44 +01:00
Takafumi Arakaki
5bf5086e8f
Fix test ein:completer-finish-completing
2012-12-06 18:38:36 +01:00
Takafumi Arakaki
1606a8d32c
Fix failing tests
2012-12-04 11:38:14 +01:00
Takafumi Arakaki
76d2336f8c
Make ":" invalid as a notebook name
...
The JS client code was changed in this PR:
https://github.com/ipython/ipython/pull/1815
(commit: e264b9b48b
)
2012-10-15 18:39:50 +02:00
Takafumi Arakaki
4a46447e4a
Fix tests for header-line
2012-10-10 01:02:18 +02:00
Takafumi Arakaki
22c0e391c6
Fix & improve ein:notification-and-events
...
The constant "7" was not right as I added an event handler.
2012-10-09 20:39:23 +02:00
Takafumi Arakaki
28ba5e9ad1
Add execution_count.Kernel event
2012-10-09 20:09:23 +02:00
Takafumi Arakaki
7b85ead1a8
Fix failing tests due to the change in tab template
2012-10-09 19:57:27 +02:00
Takafumi Arakaki
509064d8d8
Test ein:find-leftmot-column more and fix it
2012-10-09 14:23:06 +02:00
Takafumi Arakaki
9c563828cd
Test ein:find-leftmot-column for simple cases
2012-10-09 14:12:20 +02:00
Takafumi Arakaki
0af8362929
Add test ein:worksheet-beginning-of-cell-input-repeat
2012-10-05 15:51:51 +02:00
Takafumi Arakaki
c9f41f6b86
More tests for ein:worksheet-end-of-cell-input
2012-10-05 15:22:00 +02:00
Takafumi Arakaki
ab928f76ff
Refactor tests for ein:worksheet-end-of-cell-input
2012-10-05 15:15:32 +02:00
Takafumi Arakaki
a654c35f23
More tests for ein:worksheet-end-of-cell-input (@prompt)
2012-10-05 15:10:07 +02:00
Takafumi Arakaki
d488e2d724
More tests for ein:worksheet-end-of-cell-input (@footer)
2012-10-05 15:07:32 +02:00
Takafumi Arakaki
597798a947
Refactor tests for ein:worksheet-end-of-cell-input
2012-10-05 14:59:09 +02:00
Takafumi Arakaki
6f249e5608
Test (ein:worksheet-end-of-cell-input -1)
2012-10-05 14:43:12 +02:00
Takafumi Arakaki
16401bb5a5
Test (ein:worksheet-end-of-cell-input 2)
2012-10-05 14:41:52 +02:00
Takafumi Arakaki
859c96f4df
Test (ein:worksheet-end-of-cell-input) and fix it
2012-10-05 14:37:54 +02:00
Takafumi Arakaki
bcef5e1e4d
Test (ein:worksheet-beginning-of-cell-input -1)
2012-10-05 14:21:16 +02:00
Takafumi Arakaki
1eb44ad5b3
Test (ein:worksheet-beginning-of-cell-input 2) and fix it
2012-10-05 14:21:00 +02:00
Takafumi Arakaki
b74debf2b7
Test (ein:worksheet-beginning-of-cell-input) and fix it
2012-10-05 14:12:51 +02:00
Takafumi Arakaki
bc1300cbdd
Add sections in test-ein-notebook.el
2012-10-05 13:30:14 +02:00
Takafumi Arakaki
5126a2f0b4
Do not turn off ein:connect-mode by revert-buffer
2012-09-29 22:21:48 +02:00
Takafumi Arakaki
c1e7155c53
Make ein-testing-notebook.el work w/o compiling it
2012-09-29 22:13:48 +02:00
Takafumi Arakaki
c691e0c73a
Add test ein:version-func-outside-of-git-repo
2012-09-28 16:58:30 +02:00
Takafumi Arakaki
6a9ff84a18
Add ein:version *function*
2012-09-28 16:41:35 +02:00
Takafumi Arakaki
ef1eb9a8dd
Do not truncate messages buffer when testing
2012-09-18 23:55:22 +02:00
Takafumi Arakaki
7de8bec6ea
Skip checking SVG in func-test.el when not available
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
c264e5c345
Better functional test for image output
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
132be8da1d
Drop dependency on matplotlib from func-test.el
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
c23f957823
Move ein:testing-example-svg to ein-testing-cell.el
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
a4df395d9a
Use callback when creating notebook
2012-09-18 16:17:42 +02:00
Takafumi Arakaki
0622f3e563
Remove tests/setup-server.el
2012-09-18 16:17:42 +02:00
Takafumi Arakaki
4f53d85ed3
%s/eintest:/ein:testing-/g in func-test.el
2012-09-18 16:17:42 +02:00
Takafumi Arakaki
fe48a421c3
Fix test-ein-node.el for Emacs 24.2
...
As of Emacs 24.2, ewoc-data is compiler macro and flet cannot be
used to override the definition. Therefore, dummy object is used
instead of mocking ewoc-data. See ein:testing-node-dummy-ewco-node
for how the dummy object is made.
2012-09-13 00:04:58 +02:00
Takafumi Arakaki
737391694e
Run tests using SVG when SVG is available
2012-09-13 00:03:32 +02:00
Takafumi Arakaki
3c7bedfe07
Fix failing unit test for Emacs 23
...
Comparison using equal result in:
Variable binding depth exceeds max-specpdl-size
2012-09-12 17:29:05 +02:00
Takafumi Arakaki
1e5a3ad489
Do not test ein:insert-html when SHR is not available
2012-09-12 17:01:53 +02:00
Takafumi Arakaki
da74f92d47
Modify ein:dev-require-all to make test run-able
2012-09-12 16:35:31 +02:00
Takafumi Arakaki
9c0c8cbffd
Add tests for ein:insert-html--fix-urls
2012-09-06 20:38:00 +02:00