Commit Graph
14 Commits
Author SHA1 Message Date
Juergen Hasch a6e056da9e Fix html_embed test 2016-10-03 21:16:37 +02:00
juhasch ba1198c4a6 Add tests for toc2 and html_embed exporters 2016-10-03 17:37:38 +02:00
Josh Barnes 3cf6c9da0d alter app default settings & tests
* Make `user` default to `False`, as otherwise it conflicts with other custom install options like `nbextensions_dir` and `prefix`. This makes app default to system install.
 * alter tests to account for new default install
 * alter tests to check *all* potential installation directories, to ensure we don't place anything in a location we shouldn't touch
 * test app `--prefix=` cli arg
2016-09-03 02:10:38 +01:00
Josh Barnes 11b3f74479 add plural nbextensions command alias
i.e. `jupyter contrib nbextensions` should be an alias of `jupyter contrib nbextension`
see https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/686
2016-07-30 00:33:37 +01:00
Josh Barnes 10ff2078b9 pin migrate test sha
to a ref before the restructure, otherwise the test doesn't make sense (and fails!)
2016-07-27 20:30:40 +01:00
Josh Barnes 018c43d52f add preprocessor test for collapsible headings. 2016-07-24 00:52:22 +01:00
Josh Barnes 32b71b5a49 create all preprocessing test notebooks programatically. 2016-07-24 00:52:22 +01:00
Josh Barnes 6650802313 update preprocessor tests
* consolidate common operations into functions
* test imports in test_preprocessors
* skip rather than fail on tests which require pandoc if we can't find it
* move svg2pdf inkscape-finding into a function which doesn't raise exceptions, allowing us to skip test if inkscape can't be found, and skip accordingly
* use urllib instead of requests in svg2pdf preprocessor
* fix flake8 complaints
2016-07-24 00:52:22 +01:00
Josh Barnes adb71bca91 add basic tests 2016-07-24 00:52:09 +01:00
Josh Barnes 600d27d679 lint python scripts to fix flake8 complaints 2016-07-18 02:06:28 +01:00
Josh Barnes 418819a1f5 more packaging renames
* rename `jupyter_contrib_nbextensions.extensions` -> `jupyter_contrib_nbextensions.nbconvert_support`, since they're now all nbconvert things
* rename `tests/test-postprocessors.py`, since it actually tests preprocessors!
* move highlighter config scripts into `config_scripts` package
* remove redundant scripts in `src/jupyter_contrib_nbextensions/nbextensions/highlighter`
2016-07-18 02:06:28 +01:00
Juergen Hasch f36b974c7a Add tests for preprocessors 2016-04-21 22:53:03 +02:00
Juergen Hasch d23f95fd45 Reorg part 3 2015-09-04 21:47:04 +02:00
Juergen Hasch e3f2afa460 Reorg 2nd batch 2015-09-04 20:26:43 +02:00