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
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
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
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
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
7b1efbf16e
run integration tests with pytest
...
adds integration-tests directory
2018-07-16 17:58:14 -07:00