test: MockHub default allow_all=True

not unconditional
This commit is contained in:
Min RK
2024-03-24 17:24:27 +01:00
parent c3c69027fa
commit b98af09df8
2 changed files with 3 additions and 1 deletions

View File

@@ -475,6 +475,7 @@ async def test_user_creation(tmpdir, request):
]
cfg = Config()
cfg.Authenticator.allow_all = False
cfg.Authenticator.allowed_users = allowed_users
cfg.JupyterHub.load_groups = groups
cfg.JupyterHub.load_roles = roles