mirror of https://gitlab.com/litecord/litecord.git
manage.cmd.users, tests.conftest: follow new kwargs for delete_user
This commit is contained in:
parent
586256ed65
commit
0bc4b1ba3f
|
|
@ -113,7 +113,7 @@ async def del_user(ctx, args):
|
|||
print('not confirmed')
|
||||
return
|
||||
|
||||
await delete_user(uid)
|
||||
await delete_user(uid, app_=ctx)
|
||||
print('ok')
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ async def _user_fixture_setup(app):
|
|||
|
||||
|
||||
async def _user_fixture_teardown(app, udata: dict):
|
||||
await delete_user(udata['id'], db=app.db)
|
||||
await delete_user(udata['id'], app_=app)
|
||||
|
||||
|
||||
@pytest.fixture(name='test_user')
|
||||
|
|
|
|||
Loading…
Reference in New Issue