MinRK
b82b4997e7
test that rename fails with 409 if it would clobber
...
(test already passes, but it should still be tested)
closes #4600
12 years ago
Thomas Kluyver
79c27df217
Specify encoding in remainining instances of io.open
12 years ago
Thomas Kluyver
b829043a60
Add test for saving notebook with .py script
12 years ago
Thomas Kluyver
d4532983f4
Convert print statements to print function calls
...
libmodernize.fixes.fix_print
12 years ago
MinRK
40cce4d7e3
s/os.path.sep/os.sep/
12 years ago
MinRK
dfb538d881
Windows testing fixes
12 years ago
MinRK
1f90f4d7bb
test /files/ gives 403 on hidden files
12 years ago
MinRK
f894dbe664
test upload of v2 notebooks
12 years ago
MinRK
cf0218e2d1
don't use jsonapi in test_notebook_api
12 years ago
MinRK
66ccce69c6
copy_from in json, not in url param
12 years ago
MinRK
ef0d065712
test nbmanager.copy_notebook
12 years ago
MinRK
7ea311ad64
escape URLs in Location headers
12 years ago
MinRK
06d9b99141
update notebook api tests
...
with creation URL changes
also use unicode as the default name in tests,
to increase likelihood of catching unicode bugs.
12 years ago
MinRK
d1a36fe4c0
use 'id' for checkpoint ID key
...
rather than redundant checkpoint.checkpoint_id
12 years ago
Thomas Kluyver
05e85588cf
Add some unicode testing for saving notebooks
12 years ago
Thomas Kluyver
3f46a05a14
Test notebook checkpoint APIs
12 years ago
Thomas Kluyver
18f88d020f
Add failing test for listing nonexistant directory
12 years ago
Thomas Kluyver
99969474e0
Fix notebook manager test
12 years ago
Thomas Kluyver
a6a7255454
Fix some notebook model tests
12 years ago
MinRK
acb4245035
unicode normalization in test_notebooks_api
12 years ago
Thomas Kluyver
9f4a4ab3f8
Check Location header from renaming notebook
12 years ago
Thomas Kluyver
9144e8e57b
Fix check of notebook path
12 years ago
Thomas Kluyver
eb9a55ed6b
Add test for and fix REST save with rename
12 years ago
Thomas Kluyver
b9310d0e05
Add test for copying notebook through REST API
12 years ago
Thomas Kluyver
7725025d52
Add test for saving notebook via REST API
12 years ago
Thomas Kluyver
85d3c39b5a
Add test for REST API uploading notebook
12 years ago
Thomas Kluyver
9d9adb1186
Improve tests for notebook REST API
12 years ago
MinRK
fe59217989
move url_[un]escape to utils from nbm
12 years ago
MinRK
16e8d0ff43
adjust definition of 'path' in notebooks
...
never includes leading or trailing '/'
12 years ago
Zachary Sailer
d3e456d9a1
add tests to notebooks api
...
- check for correct status codes
- check headers location
- fix COPY api
12 years ago
Zachary Sailer
2a946c62ab
added tests to nbmanager for url encode/decode
12 years ago
Zachary Sailer
27680dacb2
Code review changes.
...
Fixed handler issues and api tests from code review
from @minrk and @carreau.
12 years ago
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
12 years ago
Zachary Sailer
050a3098a8
review fixes on tests, add extra kernel api test
12 years ago
Zachary Sailer
e9ac1c2d37
add tests for session api
12 years ago
Zachary Sailer
8ce586a241
move notebooks api tests into notebooks/tests
12 years ago
Paul Ivanov
b8318708eb
clean up of get_os_path and its tests
...
work with @Zsailer
12 years ago
Zachary Sailer
470595f9e7
handle path separators with os.sep and add tests
...
Added more tests to the notebook manager to check for the correct
path separators on different operating system. Fixed the get_path
method.
12 years ago
Zachary Sailer
bdbe30dc3a
url encode/decode tests added to nbmanager
12 years ago
Paul Ivanov
a083ad1fd7
more named_notebook_path cleanup
...
named_notebook_path now returns path with leading and trailing slashes.
Work with @Zsailer
12 years ago
Paul Ivanov
fd7a64ff38
simplified named_notebook_path implementation
...
Also updated the tests
12 years ago
Paul Ivanov
11e5bd7b24
adding tests for named_notebook_path
...
I want to do some refactoring, so I'll put in some tests that will define the
behavior that I want to preserve, so I can verify that my refactoring hasn't
broken anything.
12 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago