mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-12 20:43:02 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -251,10 +251,10 @@ async def test_load_groups(tmpdir, request):
|
||||
hub.init_db()
|
||||
db = hub.db
|
||||
await hub.init_role_creation()
|
||||
|
||||
|
||||
await hub.init_users()
|
||||
await hub.init_groups()
|
||||
|
||||
|
||||
blue = orm.Group.find(db, name='blue')
|
||||
assert blue is not None
|
||||
assert sorted(u.name for u in blue.users) == sorted(to_load['blue']['users'])
|
||||
|
Reference in New Issue
Block a user