Commit Graph

379 Commits

Author SHA1 Message Date
Min RK
525f6a7561 fix backward f, nb args for nbformat.write 2014-11-01 16:41:13 -07:00
MinRK
af735018f3 don't use nbformat.current in IPython.html
use top-level nbformat.read/write, v4 directly for compose
2014-11-01 16:41:11 -07:00
MinRK
ae0b46aa3f address review from takluyver
- various typos
- discuss multi-line strings in nbformat doc
- testing cleanup
- py3compat simplification
- don't use setdefault when composing notebook nodes
- mime-type fix in svg2pdf
2014-11-01 16:41:09 -07:00
MinRK
dd95b1ef5f remove heading cells in v4 2014-11-01 16:41:07 -07:00
MinRK
6ca260e611 output[mime/type] -> output.data[mime/type] in javascript 2014-11-01 16:41:05 -07:00
MinRK
14cfb2efc1 s/prompt_number/execution_count in nbformat 4 2014-11-01 16:41:03 -07:00
MinRK
07079095a8 update html/js to nbformat 4 2014-11-01 16:41:02 -07:00
Min RK
1d7f8803e0 use ?download=1 to trigger download in /files/
sets `Content-Disposition: attachment...`

- master sets this unconditionally
- 2.x sets this iff file is a notebook
2014-10-31 15:45:30 -07:00
Jonathan Frederic
ba77877c18 Rebase fixes 2014-10-28 17:55:36 -07:00
Jonathan Frederic
04d0874a80 JS test fix 2014-10-28 16:49:46 -07:00
Jonathan Frederic
cb2c76999c Address some more review comments... 2014-10-28 16:49:46 -07:00
Jonathan Frederic
3cb5ac6fbb Clarified API for the create_model function,
Also added a test!
2014-10-28 16:49:46 -07:00
Jonathan Frederic
5366cef17d Fix an issue in the kernel_running function of the JS tests,
This fix allows the JS test to be ran against a remote server
with a higher than LAN latency.  This bug in our testing
framework was exposed when running `iptest js/widgets --url`
against tmpnb.
2014-10-21 16:43:30 -07:00
Thomas Kluyver
5ede5318d5 Merge pull request #6751 from jdfreder/iptestgun
Added --url option to iptest
2014-10-21 15:18:34 -07:00
Jonathan Frederic
fc3178e13e Make order of operations more explicit. 2014-10-21 14:28:28 -07:00
Jonathan Frederic
c3b1bf795e Add --url option to iptest 2014-10-20 20:29:01 -07:00
Thomas Kluyver
c39939869f Merge pull request #6653 from mattpap/fix_ansispan
Fix IPython.utils.ansispan() to ignore stray [0m
2014-10-20 09:19:00 -07:00
Mateusz Paprocki
439098a9d5 IPython.{util->utils}.fixConsole() in html/tests/base 2014-10-20 11:12:10 +02:00
Matthias Bussonnier
d269912958 Merge pull request #6110 from minrk/binarycomm
support binary buffers in comm messages
2014-10-19 11:03:24 +02:00
Matthias Bussonnier
7ae250bbeb Merge pull request #6693 from minrk/please-no-jsonp
set contentType='application/json'
2014-10-17 14:17:20 +02:00
MinRK
95355e6ff2 Merge pull request #6624
closes #6656
closes #6399
2014-10-16 10:18:21 -07:00
MinRK
7c2083aa60 test saving with problematic cell contents 2014-10-15 16:57:18 -07:00
Jessica B. Hamrick
8896b538b5 Add regression tests for live notebook 2014-10-15 12:46:23 -07:00
MinRK
9e425bf94b move binary msg test to services/serialize 2014-10-15 12:23:33 -07:00
MinRK
11f5775103 test binary websocket messages
only runs on slimerjs for now
2014-10-15 12:23:33 -07:00
MinRK
3de7e9bd74 test websocket-friendly binary message roundtrip
Python-side
2014-10-15 12:23:33 -07:00
Jessica B. Hamrick
37c2419c5e Rename all status_event to kernel_event 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
e5a5bdcdd3 Handle and test for failed restart in session.js 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
29e6885b60 Test for autorestart and failed autorestart 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
f2ad4fc176 Better way to wait inbetween tests 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
fe2402f99d Increase wait time between tests 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
7f8b95a661 Add status_ready.Kernel event and rename status_started to status_created 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
c43e06bbc4 Add test for kernel_dead.Session 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
42e863db8c Remove debugging statements 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
01ba501b88 Fix event tests 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
8d4c9e7f30 Add tests for events 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
b9cf034d51 Add some more kernel tests 2014-10-08 11:30:30 -07:00
Jessica B. Hamrick
befe8eb720 Update session tests 2014-10-08 11:30:29 -07:00
Jessica B. Hamrick
99f686918b Fix kernel and session tests 2014-10-08 11:30:29 -07:00
Jessica B. Hamrick
9f1574eb6c User correct check for whether kernel is running in tests 2014-10-08 11:30:29 -07:00
Mateusz Paprocki
ff5b4c6874 Test IPython.utils.fixConsole() (really ansispan()) 2014-10-08 14:15:07 +02:00
Jonathan Frederic
d2df98ce1a Fix conflict with d1305d7510cc3 2014-10-07 23:14:00 -07:00
Manuel Riel
a490488f62 remove commented-out code 2014-10-08 01:51:12 +02:00
Manuel Riel
67f2322a8c simplify bin-file test 2014-10-08 01:29:53 +02:00
Manuel Riel
0e95bd9eda remove unused import in test_files.py 2014-10-08 01:25:31 +02:00
Thomas Kluyver
95b857b679 Merge pull request #6637 from minrk/notice-python-error
Check for Python errors in js tests
2014-10-07 15:21:40 -07:00
Jonathan Frederic
60531c917f Merge pull request #6481 from jdfreder/intvalidatefix
Fix bug in bounded int/float logic.
2014-10-07 10:50:02 -07:00
MinRK
845c7b4700 Check for Python errors in js tests
When running a cell in the js tests,
this checks for any errors and treats them as a failure.

Helps avoid confusion caused by silently ignoring failures in Python code.
2014-10-06 16:04:44 -07:00
Manuel Riel
28d4444def 2 checks for python2 and python3) 2014-10-06 14:48:36 +02:00
Manuel Riel
bb8e33d70d fix bin-file test in ipython3 2014-10-06 14:25:50 +02:00