Commit Graph

53 Commits

Author SHA1 Message Date
GeorgianaElena
92c74d157f Fix failing plugin test 2020-01-13 18:38:47 +02:00
johannes.kaufmann
35772cf447 Try to test new user create hook 2019-12-03 09:43:16 +01:00
Min RK
7d30501fc5 Merge pull request #382 from GeorgianaElena/issue349
Allow adding users to specific groups
2019-07-12 09:38:21 +02:00
Jeremy Tuloup
b96a760aee Simplify test for the tljh_post_install hook 2019-07-02 12:53:06 +02:00
Jeremy Tuloup
f3232e7c44 Add tljh_post_install hook 2019-06-27 11:45:36 +02:00
GeorgianaElena
88a09285d2 Renamed group config option 2019-06-21 11:38:26 +03:00
GeorgianaElena
da443ebd4b Allow adding users to specific groups 2019-06-20 21:54:51 +03:00
GeorgianaElena
5ec046716a More idle culler tests 2019-06-12 17:05:13 +03:00
GeorgianaElena
c178afe4cd Idle culler integration test 2019-06-12 17:05:13 +03:00
yuvipanda
b584bd1b2a Add hook for custom jupyterhub_config.py content
This lets extensions directly control how JupyterHub
is configured
2019-06-05 15:20:49 +02:00
yuvipanda
77dc6a0e27 Add hook to install packages in hub environment
Required when installing additional authenticators or
spawners
2019-06-05 15:20:49 +02:00
yuvipanda
8ec3fab3f3 Make installer.log non-readable by non-root users
Doesn't have any sensitive info right now but might
in the future.

Fixes #142
2019-05-29 11:27:53 -07:00
yuvipanda
1cb6717fea Say 'running inside a docker container', not 'plain docker'
'Plain docker' makes no sense
2019-05-20 09:52:50 -07:00
yuvipanda
0370b7513e Add test for failure when running inside a plain docker container 2019-05-19 23:00:43 -07:00
yuvipanda
d9a4e64dfa Bump jupyterhub version for security patches
https://blog.jupyter.org/open-redirect-vulnerability-in-jupyter-jupyterhub-adf43583f1e4
2019-03-30 13:11:19 +05:30
GeorgianaElena
e8b303d01b Generate random traefik api password 2019-02-13 14:23:02 +02:00
GeorgianaElena
3ee387cd3b Fixed some issues 2019-02-13 14:23:02 +02:00
GeorgianaElena
eee29a0957 Replace chp with traefik-proxy 2019-02-13 14:23:02 +02:00
yuvipanda
185f7c9716 Mark flaky test as flaky
We'll need to figure out why this is failing
2019-01-30 10:38:33 -08:00
yuvipanda
04934c0bf1 Test that ipywidgets nbextension is enabled 2018-12-22 11:21:50 -08:00
yuvipanda
600bf225f2 Add ipywidgets to base installation 2018-12-22 11:06:43 -08:00
yuvipanda
99e3106b29 Make bootstrap test name / description more generic 2018-11-13 12:35:41 -08:00
yuvipanda
b644599af8 Import TLJH only when needed in conftest.py 2018-11-13 12:35:41 -08:00
yuvipanda
5374f5eaf5 Provide better error message when running on unsupported distro 2018-11-13 12:35:41 -08:00
yuvipanda
4accfd0465 Upgrade package versions
Upgrades following packages:

- JupyterHub
- JupyterLab
- Notebook
- nteract
2018-10-29 11:19:16 -07:00
yuvipanda
f1378754b6 Import subprocess before using it 2018-09-14 11:55:01 -07:00
yuvipanda
9f538775e0 Print hub logs if hubtraf fails in integration tests 2018-09-14 10:48:35 -07:00
yuvipanda
dffc3c0916 Add integration test for long usernames 2018-09-12 16:52:48 -07:00
Yuvi Panda
4eeebc991f Merge pull request #163 from minrk/config-dir
put config in `$tljh/config` directory
2018-09-04 18:04:57 -07:00
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