Commit Graph

152 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
9bde7e4680 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-29 21:35:50 +00:00
YuviPanda
6359bf498c Merge remote-tracking branch 'upstream/main' into conda-channels 2023-09-29 14:27:25 -07:00
Jeremy Tuloup
0f03f40eff Re-add nbgitpuller 2023-08-09 05:25:21 +00:00
Jeremy Tuloup
2fbe803530 add missing import 2023-08-01 07:40:29 +00:00
pre-commit-ci[bot]
0da7d09298 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-01 07:39:11 +00:00
Jeremy Tuloup
91af54ade3 typo 2023-08-01 07:38:54 +00:00
Jeremy Tuloup
645251a134 update test for labextensions 2023-08-01 07:38:32 +00:00
Jeremy Tuloup
dfeddc2e53 tmp: do not check nbgitpuller 2023-08-01 07:01:58 +00:00
Jeremy Tuloup
4b13303d01 test nbgitpuller only 2023-08-01 07:01:41 +00:00
Jeremy Tuloup
ad1455e4da update jupyter server command for now 2023-08-01 06:52:56 +00:00
Jeremy Tuloup
6f38ec6a95 test for lab extensions 2023-08-01 06:43:49 +00:00
Jeremy Tuloup
b6ee97c770 do not check the lab version 2023-08-01 06:28:39 +00:00
Jeremy Tuloup
bdfabc5ce8 Update tests 2023-08-01 06:26:18 +00:00
Erik Sundell
b02a8b044f test refactor: mitigate persisted state between tests 2023-06-09 03:37:39 +02:00
Erik Sundell
b1822d7098 test refactor: small details in test_hub.py 2023-06-09 03:37:39 +02:00
Erik Sundell
1d203ccd2a test refactor: reduce time spent waiting on culling/not culling 2023-06-09 03:37:39 +02:00
Erik Sundell
3e9ee8ca8f test refactor: remove test with broken assumption
To remove a user from the admin list doesn't matter, even though its
clearly something one may expect should matter.

The issue is that JupyterHub itself makes use of the admin_users list as
a way to declare new admins, not to remove users having been marked as
admin in the past.

What to do about this is not clear, but having a test for this doesn't
make sense.
2023-06-09 03:37:39 +02:00
Erik Sundell
d1c2e51525 test refactor: avoid a redundant server startup test 2023-06-09 03:37:39 +02:00
Erik Sundell
b1c7e53be4 test refactor: try decouple admin tests from other tests 2023-06-09 03:37:39 +02:00
Erik Sundell
40b88cb780 test refactor: update simplest plugin tests
With this refactor, the simplest plugin stops interfering with other
tests.
2023-06-09 03:34:06 +02:00
Erik Sundell
cdc4a9d388 test refactor: reduce timeout for starting user server, sleep less 2023-06-09 03:34:06 +02:00
Erik Sundell
835c6a1154 test refactor: refactoring of .github/integration-test.py 2023-06-09 03:34:06 +02:00
Erik Sundell
8f4cee1e46 test refactor: test_bootstrap.py, let container mount local dir and expose port 2023-06-09 03:34:06 +02:00
Erik Sundell
e579d288c7 test refactor: remove re-specification of hub_url 2023-06-09 03:34:06 +02:00
Erik Sundell
2182f246ae test refactor: remove redundant pytest.mark.asyncio 2023-06-09 03:34:06 +02:00
Erik Sundell
06edf1a76b test refactor: put pytest config in pyproject.toml 2023-06-09 03:34:06 +02:00
Erik Sundell
d4c6da52e1 maint: let installer ensure /etc/sudoers.d directory exists 2023-06-08 23:11:58 +02:00
Min RK
59648b79d4 increase progress page test timeout
seems to be why it fails sometimes
2023-05-16 21:10:44 +02:00
Min RK
dfc8b5557c debugging progress page output 2023-05-16 21:07:20 +02:00
Min RK
a58956f14b update for traefik v2, treafik-proxy v1
- tls config is no longer allowed in static config file, add separate dynamic config
- no longer need to persist auth config ourselves (TraefikProxy handles this)
- make sure to reload proxy before reloading hub in tests
2023-05-16 11:47:23 +02:00
pre-commit-ci[bot]
e95942d61b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-15 08:51:36 +00:00
Erik Sundell
b366d6b63f Remove unused copy-paste remnants in tests 2023-05-15 10:49:56 +02:00
pre-commit-ci[bot]
922db1ae8e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-11 21:47:14 +00:00
Erik Sundell
c09e83a6c8 Pass xsrf token in tests to /hub/api requests 2023-05-11 23:46:55 +02:00
Erik Sundell
b3365fbe45 update: jupyterhub 4 2023-05-11 23:19:27 +02:00
Min RK
1dd25392a2 add integration test for hub version
make sure the hub has the version we expect
2023-05-11 10:55:17 +02:00
Min RK
000e4f2540 sync with main 2023-04-17 09:44:58 +02:00
Erik Sundell
9e1bc61519 breaking, maint: remove deprecated use of nteract-on-jupyter 2023-04-04 22:00:44 +02:00
Min RK
2d1c584eca Fix wait/fail conditions in hub culling tests
- actually check for running server, matching comments, not just user existence
- catch asyncio.TimeoutError, not TimeoutError
- fail if condition is not met, rather than passing in both cases
- update some comments for accuracy (max age and timeout aren't the same)
2023-03-28 15:48:35 +02:00
Min RK
6b0b5f2998 add bzip2 to test env
required for testing against miniconda 4.5
2023-03-24 11:58:12 +01:00
Min RK
c80e5f6854 add python3 to integration test
debian base image doesn't include Python3
2023-03-21 11:05:25 +01:00
Min RK
aa72179afa require ubuntu 20.04, test on debian 10 2023-03-21 10:17:02 +01:00
Simon Li
7a50cc9436 bootstrap.py: Only lookup git ref if TLJH_BOOTSTRAP_PIP_SPEC not set
test_bootstrap.py: use `--version main` since there are no tags/releases
2023-02-10 11:44:02 +00:00
Pris Nasrat
4a701d2e1c Remove commented out code in uid/gid debugging 2023-02-09 07:52:04 -05:00
Pris Nasrat
acd64c277e Drop supplemental groups in install testing 2023-02-07 11:42:02 -05:00
Simon Li
6413268211 use id to debug test_install.py 2023-02-07 11:42:02 -05:00
Simon Li
5c475b876c Add debugging info to test_install permissions checks 2023-02-07 11:42:01 -05:00
Will Dampier
58181c9671 adjusted integration test to call new hook 2022-09-02 14:47:25 -04:00
Erik Sundell
e0aaa4f995 pre-commit: run black with string normalization 2021-11-03 23:55:34 +01:00
Erik Sundell
771ae59636 pre-commit: run black without string normalization 2021-11-03 23:53:41 +01:00