mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Update tests to check for newer location of idle culler
This commit is contained in:
@@ -213,7 +213,7 @@ def test_cull_service_default():
|
|||||||
c = apply_mock_config({})
|
c = apply_mock_config({})
|
||||||
|
|
||||||
cull_cmd = [
|
cull_cmd = [
|
||||||
sys.executable, '-m', 'tljh.cull_idle_servers',
|
sys.executable, '-m', 'jupyterhub_idle_culler',
|
||||||
'--timeout=600', '--cull-every=60', '--concurrency=5',
|
'--timeout=600', '--cull-every=60', '--concurrency=5',
|
||||||
'--max-age=0'
|
'--max-age=0'
|
||||||
]
|
]
|
||||||
@@ -238,7 +238,7 @@ def test_set_cull_service():
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
cull_cmd = [
|
cull_cmd = [
|
||||||
sys.executable, '-m', 'tljh.cull_idle_servers',
|
sys.executable, '-m', 'jupyterhub_idle_culler',
|
||||||
'--timeout=600', '--cull-every=10', '--concurrency=5',
|
'--timeout=600', '--cull-every=10', '--concurrency=5',
|
||||||
'--max-age=60', '--cull-users'
|
'--max-age=60', '--cull-users'
|
||||||
]
|
]
|
||||||
@@ -261,7 +261,7 @@ def test_load_secrets(tljh_dir):
|
|||||||
c = apply_mock_config(tljh_config)
|
c = apply_mock_config(tljh_config)
|
||||||
assert c.TraefikTomlProxy.traefik_api_password == "traefik-password"
|
assert c.TraefikTomlProxy.traefik_api_password == "traefik-password"
|
||||||
|
|
||||||
|
|
||||||
def test_auth_native():
|
def test_auth_native():
|
||||||
"""
|
"""
|
||||||
Test setting Native Authenticator
|
Test setting Native Authenticator
|
||||||
|
|||||||
Reference in New Issue
Block a user