Min RK
626e492e0f
use variables in test_simplest_plugin
...
avoids updating hardcoded paths when they change
2018-08-31 12:25:30 +02:00
Min RK
f0a398ae2f
test manual https setup
...
adds integration test for manual https certs
2018-08-29 09:48:12 +02:00
Matthias Bussonnier
8650aacd57
Fix some typos
...
Using `codespell -q3 -w` that I just discovered.
(https://github.com/codespell-project/codespell , pip install codespell)
2018-08-27 17:58:26 -07:00
yuvipanda
5cf6a84ea6
Fix integration test's jupyterlab version
2018-08-23 07:13:59 -04:00
yuvipanda
214d8e9e81
Add test for jupyterhub labextension
2018-08-13 16:47:35 -06:00
yuvipanda
28af89a381
Move tljh-config symlink to /usr/bin
...
Removes a lot of 'sudo -E' usage, and eventually should
let us get rid of the $PATH override for jupyterhub-admins,
which arguably is less secure than just dropping stuff into
/usr/bin
Also remove sudo -E from apt and mkdir calls. Not necessary.
2018-08-12 22:05:18 -07:00
yuvipanda
c2a9bda74a
Fix path to where sl is installed in plugin test
...
I guess sl is *technically* a game. I'm sure there was a long
winded argument about where it should be in a mailing list
somewhere.
2018-08-12 09:55:20 -07:00
yuvipanda
8b2980a20a
Add tests for the plugin mechanism
2018-08-12 09:47:32 -07:00
yuvipanda
8d582dcba8
Make it easier to run multiple independent integration tests
...
Provide higher level run-test command in integration-tests.
This runs a number of pytest files in the same container
with the same installation.
2018-08-11 10:59:03 -07:00
yuvipanda
907d2b8f5b
Move nb/serverextension tests to own file
2018-08-04 10:55:25 -07:00
yuvipanda
612124f298
Add test for nbextensions too
2018-08-04 10:54:26 -07:00
yuvipanda
ebc9530442
Fixup formatting for serverextensions test
2018-08-04 10:34:06 -07:00
yuvipanda
710bee593b
Fix path to jupyter-serverextensions
2018-08-04 10:28:34 -07:00
yuvipanda
fbfa932c21
Don't use subprocess.run features from 3.7
2018-08-04 10:23:42 -07:00
yuvipanda
a8e6165fa5
Add test to check if serverextensions are installed
2018-08-04 10:17:35 -07:00
yuvipanda
912d5a5e17
Install sudo in the integration-test container
2018-07-31 13:37:31 -07:00
yuvipanda
48441e2d22
Use sudo -E to invoke tljh-config in integration tests
...
This is how users invoke it, so we should use this to
validate that this works.
2018-07-31 13:32:46 -07:00
yuvipanda
816e9a01a1
Test symlinking tljh-config
2018-07-31 13:19:45 -07:00
yuvipanda
7e9e2d375c
Add tljh-config remove-item to remove an item from a list
2018-07-28 11:57:11 -07:00
yuvipanda
f0c944aeb8
Add code + tests for adding items to a list
2018-07-28 11:14:53 -07:00
yuvipanda
6f99da5d95
Add full integration test with hubtraf
...
- Fully simulates what a user would be doing
- Also tests tljh-config set and reload functionality
2018-07-28 01:12:13 -07:00
Min RK
680206813f
test permissions
...
imported from acl-based tests
test for admin-install permissions are included but skipped as xfail
2018-07-19 01:15:59 -07:00
Min RK
26ebc61a79
move integration-test dockerfile to integration-tests directory
2018-07-16 18:07:17 -07:00
Min RK
7b1efbf16e
run integration tests with pytest
...
adds integration-tests directory
2018-07-16 17:58:14 -07:00