Commit Graph

356 Commits

Author SHA1 Message Date
Brian E. Granger
af7dd15181 Removing old keyboard handling from IPython.utils. 2014-03-03 13:13:50 -08:00
Brian E. Granger
929f5bc8ea Fixing references to IPython.keycodes. 2014-03-03 13:10:18 -08:00
Brian E. Granger
c76ab1d836 Adding basic tests for keyboard.js 2014-03-03 13:10:17 -08:00
MinRK
e02308e436 capture logging in a few tests
this could probably be made more general,
but these were the two places I noticed log output.
2014-02-22 21:12:19 -08:00
MinRK
386274488d don't create notebook_dir if it doesn't exist 2014-02-21 13:22:57 -08:00
MinRK
cb25736a24 reorganize who knows what about paths
- add NotebookApp.notebook_dir
- add KernelManager.root_dir
- remove NotebookManager.notebook_dir, move to FileNBM.notebook_dir

Default value for KM.root_dir and fNBM.notebook_dir is NotebookApp.notebook_dir, but they can be configured separately.

SessionManager passes the API path to KernelManager,
which is responsible for turning it into the kernel's cwd.
2014-02-21 13:22:56 -08:00
Jonathan Frederic
82bbcf166d Fixed .. typo 2014-02-20 13:14:37 -08:00
Jonathan Frederic
cecf7cf06f Fixed radio button selector for new radio button class 2014-02-19 14:48:21 -08:00
Thomas Kluyver
d6986cf4ec Merge pull request #4778 from minrk/install-nbextensions
add APIs for installing notebook extensions
2014-02-14 15:21:15 -08:00
MinRK
1ed5b184fb test installing nbextensions with symlink 2014-02-14 15:02:02 -08:00
MinRK
8353e85e48 test check_nbextension 2014-02-13 19:46:36 -08:00
Jonathan Frederic
3d408f5241 Added a test to make sure full state was not getting sent. 2014-02-10 15:46:05 -08:00
Jonathan Frederic
fbf700e5d2 Fixed typo in new test 2014-02-10 14:50:49 -08:00
Jonathan Frederic
a173e684c6 Added test that shows the problem. 2014-02-10 14:50:49 -08:00
Brian E. Granger
38c369c0d8 Updating JS tests README.md. 2014-02-09 14:15:54 -08:00
Brian E. Granger
89c1aa2010 Merge pull request #5062 from minrk/js-test-races
adjust some events in nb_roundtrip
2014-02-08 23:20:09 -08:00
MinRK
e14172d851 adjust some events in nb_roundtrip
hopefully should address some intermittent failures due to race conditions
2014-02-08 23:12:05 -08:00
MinRK
7cb4321bfe test unicode path in dashboard_nav 2014-02-08 23:09:23 -08:00
MinRK
f3664e1beb support URLs and zip/tarballs in install_extension 2014-02-08 20:08:15 -08:00
MinRK
704b349302 add IPython.html.nbextensions.install_nbextension
for installing files into IPYTHONDIR/nbextensions
2014-02-08 20:02:56 -08:00
Jonathan Frederic
94a7a7fd3a Whoops, put kernel.js in the wrong folder 2014-02-07 21:18:54 -08:00
Jonathan Frederic
23f2bdf734 Made the folders map 1-to-1 with those in static 2014-02-07 21:13:33 -08:00
Jonathan Frederic
2da92d4d13 Moved files out of casperjs folder 2014-02-07 21:06:58 -08:00
Jonathan Frederic
a07d24adb9 Move tests out into parent directories 2014-02-07 10:09:04 -08:00
Jonathan Frederic
063656343b Moved notebook tests around. 2014-02-06 16:45:54 -08:00
Min RK
cd7c1e6fae Merge pull request #5001 from ellisonbg/dashboard-dirs
Add directory navigation to dashboard
2014-02-05 17:21:43 -08:00
Brian E. Granger
eb9e0be218 Small refactoring of is_hidden to take root as default kwarg. 2014-02-05 16:43:11 -08:00
Brian E. Granger
009367666a Fixing test_files tests. 2014-02-05 15:41:28 -08:00
Brian E. Granger
243392d810 Creating and testing IPython.html.utils.is_hidden. 2014-02-05 13:09:55 -08:00
Brian E. Granger
e765f894b6 Merge pull request #5023 from jdfreder/widget-arrays
Widgets- add ability to pack and unpack arrays on JS side.
2014-02-04 16:43:50 -08:00
Jonathan Frederic
4b9cb92247 Added support for RuntimeArray 2014-02-04 16:29:48 -08:00
Jonathan Frederic
74b2f5c542 Added debug log to see what is happening... 2014-02-04 16:18:04 -08:00
Jonathan Frederic
836742dc59 Added test for pack and unpack Model functions 2014-02-04 16:03:37 -08:00
Brian E. Granger
6ac7f6c2b4 Fixing casperjs tests to run on casperjs 1.0.x. 2014-02-04 15:53:28 -08:00
Brian E. Granger
717f031e01 Adding dashboard navigation tests for dir browsing. 2014-02-04 15:53:28 -08:00
Brian E. Granger
350705075b Merge pull request #5012 from minrk/selection-dict
Make `SelectionWidget.values` a dict
2014-02-04 15:27:23 -08:00
MinRK
cc791f2a56 update selection test with null selection being invalid 2014-02-04 14:40:10 -08:00
Min RK
978a5c1bc2 Merge pull request #4952 from jdfreder/widget-tests
Widget test inconsistencies

add wait_for_widget
2014-02-04 12:14:31 -08:00
Matthias BUSSONNIER
bb27cd0de5 more subtle kernel indicator
add casper.wait_for_busy
like wait_for_idle, but busy

restore kernel notification widget
it's still used for interrupt / restart

use wait_for_busy in check_interrupt test
2014-02-04 11:40:39 +01:00
MinRK
3e1f2e22f8 Make SelectionWidget.values a dict
rename 'labels' and '_value' to 'value_names' and 'value_name'.

To specify a mapping of value names and values, use a dict.
If you specify `values=[list]`, then an OrderedDict will be used.

Assignment after construction only supports a dict.
2014-02-03 17:15:06 -08:00
Jonathan Frederic
b9e48b3d6c Use wait_for_widget in widgets and string widget tests 2014-02-02 22:40:33 -08:00
Min RK
003c5e8eda Merge pull request #4971 from ellisonbg/testjs-fd
Fixing issues with js tests
2014-01-31 20:38:32 -08:00
Jonathan Frederic
a2044fd463 Remove sleep from the following,
Button, float, int, multicontainer, selection widgets.
2014-01-31 11:48:51 -08:00
Brian E. Granger
aa71651468 Fixing issues with js tests.
* Closing old pages to prevent fd leaks.
* Making sure kernels are killed to prevent fd leaks.
* Moving towards deleting old notebooks (this is not done, but
  this should be merged as is).
2014-01-31 10:42:23 -08:00
Jonathan Frederic
d68112885b Use waitFor instead of sleeping. 2014-01-30 15:23:58 -08:00
Brian E. Granger
8445ab1899 Fixing tests from shift and ctrl enter swap. 2014-01-30 12:53:52 -08:00
MinRK
5142cc775d remove superfluous then 2014-01-29 18:06:50 -08:00
MinRK
a6ece94e32 add utils.wait_for_idle in js tests
and use it in execute_cell_then, since there is not always output.
2014-01-29 17:33:06 -08:00
Brian E. Granger
7c722d4b6c Merge pull request #4824 from minrk/sign-notebooks
sign notebooks
2014-01-29 16:38:08 -08:00
MinRK
ecfa10b3b3 update shutdown_notebook
now that get_output_cell raises if there is no such output
2014-01-29 14:37:00 -08:00
MinRK
5e60741e5c adjustments to nb_roundtrip.js
A few waits, little changes to get it running with recent changes
2014-01-29 14:37:00 -08:00
MinRK
d07e03b7c9 add wait_for_output(cell, index)
so you can wait for at least n outputs
2014-01-29 14:37:00 -08:00
Brian E. Granger
ffe92842fc Merge pull request #4853 from minrk/imgmd
fix setting image height/width from metadata
2014-01-29 10:56:50 -08:00
MinRK
3c2ff965ef get_output_cell fails with no such output
rather than returning null
2014-01-28 18:44:50 -08:00
Brian E. Granger
bc7b51d1b0 Merge pull request #4374 from jdfreder/widget-msg
IPEP 23: Backbone.js Widgets
2014-01-28 14:58:00 -08:00
Jonathan Frederic
8312534cac Fixed Accordion test broken by last commit 2014-01-28 12:53:23 -08:00
Jonathan Frederic
75b148d40b Renamed widgets...
TextWidget, TextareaWidget, CheckboxWidget, and SelectWidget
2014-01-28 12:51:24 -08:00
MinRK
63eb905a02 try assertType instead of NotEquals, null 2014-01-27 15:06:36 -08:00
MinRK
119052f75d first review pass on widget tests 2014-01-26 17:01:59 -08:00
Min RK
64421304c0 Merge pull request #4826 from Carreau/no-html
some $.html( -> $.text(
2014-01-24 12:25:34 -08:00
Matthias BUSSONNIER
e99756c6d5 mv kerneljs_test to kernel_test 2014-01-24 20:52:06 +01:00
MinRK
2cbb633cb4 test displaying images with shape metadata 2014-01-23 15:38:19 -08:00
Jonathan Frederic
dc9f81e75d Fixed bug in selection widget tests. 2014-01-23 10:58:52 -08:00
Matthias BUSSONNIER
25e68b3a75 typo 2014-01-23 19:58:09 +01:00
Matthias BUSSONNIER
03a2cb6535 fix js formatting 2014-01-23 19:31:35 +01:00
Matthias BUSSONNIER
4ecf5c8e5b add kernel test 2014-01-23 19:08:56 +01:00
Paul Ivanov
9b7c8b0473 make the JS test fail 2014-01-22 14:45:20 -08:00
Jonathan Frederic
9560b29beb Removed float widget bound tests,
once the int widget inherits from the float, or vise-versa, the tests
will be covered by the int
2014-01-22 12:12:08 -08:00
Matthias BUSSONNIER
cbe162297f XSS casper test 2014-01-22 08:34:47 +01:00
Jonathan Frederic
7ce9f37b17 Made tests reflect changes to widget naming scheme. 2014-01-21 16:52:37 -08:00
Jonathan Frederic
c39050e642 Fixed widget_manager instance test. 2014-01-17 16:32:58 +00:00
Matthias Bussonnier
0ec0534ce9 Merge pull request #4796 from minrk/update-components
update components

closes #4765
2014-01-16 09:53:07 -08:00
Jonathan Frederic
16d9fa92e8 Fix test for selection widgets 2014-01-16 10:57:19 +00:00
Jonathan Frederic
4017c7b27a Fixed *almost* all of the test-detected bugs 2014-01-16 10:57:19 +00:00
Jonathan Frederic
c085593e2a More fixes 2014-01-16 10:57:18 +00:00
Jonathan Frederic
d103c682c5 Many checks off the todo list, test fixes 2014-01-16 10:57:17 +00:00
Jonathan Frederic
0c8b6029a6 Remove debug print statements in container tests 2014-01-16 10:57:13 +00:00
Jonathan Frederic
d2afb9895b Output one more for debugging 2014-01-16 10:57:13 +00:00
Jonathan Frederic
7f430db3c8 Print cell output 2014-01-16 10:57:13 +00:00
Jonathan Frederic
12760ddbe5 deleted: wigets_container.js 2014-01-16 10:57:13 +00:00
Jonathan Frederic
74fccf47b3 Revert "Added line to dump page html casperjs"
This reverts commit 7091ce87f7a280dde7724d92fd542b834f764e61.
2014-01-16 10:57:13 +00:00
Jonathan Frederic
c7362cb524 Added line to dump page html casperjs 2014-01-16 10:57:12 +00:00
Jonathan Frederic
2e4abaa13d Removed console.log, unused 2014-01-16 10:57:12 +00:00
Jonathan Frederic
399f11e2b2 renamed: wigets_container.js -> widgets_container.js 2014-01-16 10:57:12 +00:00
Jonathan Frederic
c3189c1c93 Fixed JS tests to reflect Jason's changes 2014-01-16 10:57:12 +00:00
Jonathan Frederic
f1986755ec Removed button.close() test because it caused the test framework to hang 2014-01-16 10:57:08 +00:00
Jonathan Frederic
43bd3ae2ef Organized tests. 2014-01-16 10:57:08 +00:00
Jonathan Frederic
8853e40905 Added throttling test 2014-01-16 10:57:08 +00:00
Jonathan Frederic
aae6970944 Added StringWidget tests 2014-01-16 10:57:08 +00:00
Jonathan Frederic
a3a8a1efb1 Added list modification test to selection widget. 2014-01-16 10:57:08 +00:00
Jonathan Frederic
401997580e Added selection widget tests 2014-01-16 10:57:08 +00:00
Jonathan Frederic
df2c5d7d06 Removed js test utils commit and rebased with master.
Also add test to see if selection widgets are atleast displayed.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
4ec03f00d9 Partially implemented selection widget tests 2014-01-16 10:57:08 +00:00
Jonathan Frederic
d398ab6720 Added multicontainer widget tests 2014-01-16 10:57:08 +00:00
Jonathan Frederic
35e74c41b8 Added int range and int widget tests. 2014-01-16 10:57:08 +00:00
Jonathan Frederic
2ae3e86b50 Added ImageWidget tests 2014-01-16 10:57:07 +00:00
Jonathan Frederic
b66bd65e75 Added float widget tests 2014-01-16 10:57:07 +00:00
Jonathan Frederic
a880181297 Added float range widget tests 2014-01-16 10:57:07 +00:00
Jonathan Frederic
5e01a6bb1e Uncommented parent/child test that was failing 2014-01-16 10:57:06 +00:00
Jonathan Frederic
b020a0b129 Add container tests 2014-01-16 10:57:06 +00:00
Jonathan Frederic
1865d07928 Added bool widget value toggle tests 2014-01-16 10:57:06 +00:00
Jonathan Frederic
9a15dca291 Added test to check initial states of bool views 2014-01-16 10:57:06 +00:00
Jonathan Frederic
e2143d5a8f Added basic bool widget tests 2014-01-16 10:57:06 +00:00
Jonathan Frederic
0b580b9f9a Make widget tests use new casper util functions 2014-01-16 10:57:06 +00:00
Jonathan Frederic
ced0de342d Cleaned up utilities in widget casper js tests 2014-01-16 10:57:06 +00:00
Jonathan Frederic
b53802472b Added button tests 2014-01-16 10:57:06 +00:00
Jonathan Frederic
9d8a0f62f1 Basic test widget button. 2014-01-16 10:57:06 +00:00
Jonathan Frederic
8daa879087 Fixed casperjs widget tests
to match WidgetManager requirejs load changes
2014-01-16 10:56:59 +00:00
Jonathan Frederic
e169e97409 Add basic widget.js tests 2014-01-16 10:56:03 +00:00
Min RK
dc2fd94d4e Merge pull request #4799 from ivanov/minor-jstest
minor js test fix
2014-01-13 18:54:55 -08:00
Paul Ivanov
03eedd52e2 minor js test fix 2014-01-13 18:53:54 -08:00
Min RK
ec77ad18b7 Merge pull request #4772 from takluyver/nbserver-files
Notebook server info files
2014-01-13 16:57:48 -08:00
MinRK
5e3d463dca marked now adds ids to header tags 2014-01-13 16:25:13 -08:00
Thomas Kluyver
e932429762 Command line entry point to list running notebook servers 2014-01-13 16:22:43 -08:00
MinRK
4d03df98fc b64 unicode literals for images 2014-01-12 21:20:39 -08:00
MinRK
38dabf49ad test append_output with invalid data 2014-01-12 14:43:15 -08:00
Paul Ivanov
5423613ef3 add test for custom mimetypes 2014-01-12 13:54:47 -08:00
Paul Ivanov
8ab7162c07 added svg to/fromJSON tests 2014-01-12 13:54:47 -08:00
Paul Ivanov
dfb21543c6 added jpeg mimetype tests 2014-01-12 13:54:47 -08:00
Paul Ivanov
6976eac897 adding png mimetype tests 2014-01-12 13:54:47 -08:00
Paul Ivanov
9c32f78efe tests for HTML mimetype 2014-01-12 13:54:47 -08:00
Paul Ivanov
369220042a add test for latex to/fromJSON 2014-01-12 13:54:47 -08:00
Paul Ivanov
9be3013d31 refactor clearing and executing first cell in test 2014-01-12 13:54:47 -08:00
Paul Ivanov
f93b47ac37 more refactoring - test to/fromJSON for mimetypes 2014-01-12 13:54:46 -08:00
Paul Ivanov
744178de32 minor formatting 2014-01-12 13:54:46 -08:00
Paul Ivanov
11eabc2e40 refactor tests with more concise assertion checks 2014-01-12 13:54:46 -08:00
Paul Ivanov
25a4bb0c26 plain text and json display_data and pyout tests 2014-01-12 13:54:46 -08:00
Paul Ivanov
07823deda3 minor formatting 2014-01-12 13:54:46 -08:00
Paul Ivanov
7c262155f7 add (failling) roundtrip test case 2014-01-12 13:54:46 -08:00
Paul Ivanov
e0aab910da minimal notebook rountrip test 2014-01-12 13:54:46 -08:00
Paul Ivanov
509f88534c distinguish display_svg() and display() tests 2014-01-12 13:54:46 -08:00
Paul Ivanov
93831f0dfc clear output in-between test runs 2014-01-12 13:52:13 -08:00
Paul Ivanov
2e72ab3cd6 make output code not drop non-mimetype-keyed json 2014-01-12 13:52:13 -08:00
Paul Ivanov
5fefd65d72 added test for display() calls with metadata
this test is currently failing
2014-01-12 13:52:13 -08:00
Brian E. Granger
d8db72564a Merge pull request #3605 from ellisonbg/newux
Modal UI - a whole new world of fun....its like vim, but not!
2014-01-10 16:10:25 -08:00
Brian E. Granger
8d73a3ac05 Fixing more JS tests. 2014-01-08 21:02:12 -08:00
Paul Ivanov
e3053b0a58 Clarify waiting for notebook server to launch 2014-01-08 15:49:11 -08:00
Thomas Kluyver
9363dd1087 Simplify waiting for notebook server to die. 2014-01-08 14:31:48 -08:00
Thomas Kluyver
b0afd36408 Don't wait forever for notebook server to launch/die for tests
Should turn occasional hangs into straightforward errors.
2014-01-08 14:08:45 -08:00
Thomas Kluyver
3fc26c1886 Test for writing and removing server info files 2014-01-08 13:02:50 -08:00
Min RK
556627a637 Merge pull request #4656 from takluyver/nbconvert-service
Nbconvert HTTP service
2013-12-20 14:22:29 -08:00
Min RK
8be6c4b617 Merge pull request #4575 from minrk/encode_paths
make sure to encode URL components for API requests
2013-12-19 09:49:16 -08:00
MinRK
a73f00f62a test save_notebook with escaped name 2013-12-16 14:29:36 -08:00
Thomas Kluyver
eb680ddaa6 Fix notebook tests w/ new stream capturing API. 2013-12-13 15:05:58 -08:00
Thomas Kluyver
c2644a20be Capture server logs when running notebook tests 2013-12-13 14:46:51 -08:00
Jonathan Frederic
81af3b1781 Fixed bug where cell was not getting inserted because index is optional. 2013-12-04 22:10:14 +00:00
Jonathan Frederic
c38ee4700d Added new utility functions to the casper.js testing utils. 2013-12-04 22:09:44 +00:00
MinRK
157f501c60 use request.text for Python 3 (content is always bytes) 2013-11-12 15:40:05 -08:00
MinRK
a657ddd78f test 'files/' redirects
1.0 notebooks with links should work in 2.0
2013-11-12 15:09:05 -08:00
Paul Ivanov
73fd15ae36 Merge pull request #4250 from pablooliveira/wrap-svg-in-iframes
outputarea.js: Wrap inline SVGs inside an iframe
2013-11-11 15:00:34 -08:00
MinRK
35fcbbd96f fix js test print statement on python 3 2013-11-07 16:34:14 -08:00
Paul Ivanov
a54e50514d added test of IPython.version to js test suite 2013-11-07 16:34:14 -08:00
Paul Ivanov
2ab51dc1a5 yet another JS race condition fix
this should greatly reduce the number of timeouts seen in the JS tests
2013-11-01 19:10:45 -07:00
Paul Ivanov
4901f5fc16 don't delete casper instance on shutdown test
a lunch conversation with @minrk and @takluyver lead me to just make a
popup and have it be closed, instead of having to reorder the test suite
so that this test always runs last. Now it doesn't matter what order the
test suite runs in, and gives us a pattern for testing window closing
behavior should we need it elsewhere.
2013-10-29 14:58:28 -07:00
Pablo de Oliveira
b1eba452c9 Fix typo. 2013-10-29 22:19:43 +01:00
Pablo de Oliveira
bbfcbf40eb Add casperjs test for isolated SVGs 2013-10-29 22:19:43 +01:00
Paul Ivanov
e608c6d07a fix: allow JS test to run after shutdown test
shutdown notebook test closes casper browser, here we re-instatiate it
after the test
2013-10-28 13:46:55 -07:00
Paul Ivanov
80ac24683f give travis 10 seconds to start server 2013-10-23 12:28:30 -07:00
Paul Ivanov
26b5a76841 don't use test.begin
the PPA we use on Travis CI doesn't have CasperJS 1.1.0-DEV yet, so
we're better off not using it for now.
2013-10-23 11:49:43 -07:00
Paul Ivanov
217b43cf87 use test.begin to give test group a name 2013-10-23 11:05:59 -07:00
Paul Ivanov
641f157fd9 add test for shutdown notebook 2013-10-23 11:05:59 -07:00
Paul Ivanov
e971d051ed created a kernel_running method 2013-10-23 11:05:59 -07:00
Paul Ivanov
755565019d adds test of clicking the play button 2013-10-23 11:05:59 -07:00
Paul Ivanov
baf90fd755 add checks for new cell added using shift-enter 2013-10-23 11:05:59 -07:00
Paul Ivanov
89f2ed95f9 refactor of get_output_cell 2013-10-23 11:05:59 -07:00
Paul Ivanov
047f3d76cc minor shortening 2013-10-23 11:05:59 -07:00
Paul Ivanov
1703b289c9 test keyboard interrupt shortcuts 2013-10-23 11:05:59 -07:00
Paul Ivanov
605573e110 use wait_for_output util function 2013-10-23 11:05:58 -07:00
Paul Ivanov
df2118297b wait_for_output utility function 2013-10-23 11:05:58 -07:00
Paul Ivanov
65810a49e4 utility functions + tests for shift- & ctrl-enter 2013-10-23 11:05:58 -07:00
Paul Ivanov
34c9ad36a2 repeat test with keyboard shortcut 2013-10-23 11:05:58 -07:00
Paul Ivanov
23a7eb325d make sure kernel started running 2013-10-23 11:05:58 -07:00
Paul Ivanov
fe60519410 test kernel interrupt 2013-10-23 11:05:58 -07:00
Paul Ivanov
e8fba5dd6d try to shutdown at the end of every notebook run
this line causes noise in the test suite, but if we just ignore it,
we'll never get to the bottom of it. It seems to only happen when
running 'iptest js', and *not* when running the 'casperjs test' command
directly, with a notebookserver that was launched manually.
2013-10-23 11:05:58 -07:00
Paul Ivanov
7e7ac7ec9e don't shutdown kernel after every test 2013-10-23 11:05:58 -07:00
Paul Ivanov
ebf1320e64 use dashboard to simulate clicking new notebook 2013-10-23 11:05:58 -07:00
Paul Ivanov
c956f28894 make confusing code snippet more readable 2013-10-23 11:05:58 -07:00
Paul Ivanov
a093b4b8ff use new press_up and press_down utils functions 2013-10-23 11:05:58 -07:00
Thomas Kluyver
f8a36e785d Use Python 3 compatible syntax in tests 2013-10-23 11:04:56 -07:00
Paul Ivanov
6b2692aa4a eliminate hardcoded wait, now wait on outputs
Note: this test still sometimes fails, though I don't understand why.
Increasing the wait time to 30 seconds does not help, which leads me to
believe that there's some race condition, or that we're genuinely
dropping outputs sometimes (saved notebooks on these timeouts *do*
contain an In[] number, but don't have any outputs attached). @ellisonbg
and @minrk might now what's going on with that.

To run just this test, fire up a notebook server on port 8888 and run:

while true; do casperjs test --includes=util.js test_cases/execute_code_cell.js ; done
2013-10-23 11:04:56 -07:00
Paul Ivanov
f2e0315152 pep8 style function names 2013-10-23 11:04:56 -07:00
Paul Ivanov
0ea7d1e394 more informative message on server timeout 2013-10-23 11:03:12 -07:00
Paul Ivanov
3725218069 updated js tests README, --port= now optional 2013-10-23 11:03:12 -07:00
Paul Ivanov
c6c5066162 don't try to delete notebooks
this method wasn't currently working, and though we should put a working
method there as a utility, it isn't strictly necessary, since the whole
directory will be deleted
2013-10-23 11:03:12 -07:00
Paul Ivanov
5f4c695aab start and use notebook server for js test suite 2013-10-23 11:03:12 -07:00
Paul Ivanov
031811225e consistently get the first cell 2013-10-23 11:03:11 -07:00
Paul Ivanov
b75cd967d7 less convoluted way of grabbing output 2013-10-23 11:03:11 -07:00
Paul Ivanov
6d7758271e make casperjs test suite pass again 2013-10-23 11:03:11 -07:00
Paul Ivanov
928e846ea8 jstest moved to new place, closes #3125 2013-10-23 11:03:11 -07:00
MinRK
40cce4d7e3 s/os.path.sep/os.sep/ 2013-10-22 17:36:34 -07:00
MinRK
112a694c5c py3k bytes, for crying out loud 2013-10-22 17:32:24 -07:00
MinRK
2b54e36ab7 send ignored output to devnull
rather than PIPE, since Windows pipes can fill up.
2013-10-22 17:26:39 -07:00
MinRK
dfb538d881 Windows testing fixes 2013-10-22 17:16:31 -07:00
MinRK
1f90f4d7bb test /files/ gives 403 on hidden files 2013-10-22 15:23:46 -07:00
Thomas Kluyver
06fa301908 Refactor tests for kernels REST API 2013-10-17 14:09:18 -07:00
Thomas Kluyver
18f88d020f Add failing test for listing nonexistant directory 2013-10-17 14:09:18 -07:00
MinRK
fe59217989 move url_[un]escape to utils from nbm 2013-10-17 14:09:13 -07:00
MinRK
b0468580f7 don't start new notebook server for each test *method*
it takes much too long.

This change starts a new notebook server for each test class.

Even that is probably too much, but the module organization makes it troublesome
to start a single notebook server for all services tests.
2013-10-17 14:09:11 -07:00
Zachary Sailer
04c6a3cfac refactoring of nbmanager and filenbmanager
major clean up of the two managers. We make sure to follow
the standard models described in IPEP 16
2013-10-17 14:09:10 -07:00
Zachary Sailer
050a3098a8 review fixes on tests, add extra kernel api test 2013-10-17 14:09:10 -07:00