mirror of https://gitlab.com/litecord/litecord.git
test_guilds: hotfix for missing app
This commit is contained in:
parent
fb817e129a
commit
87f77e65f1
|
|
@ -28,6 +28,7 @@ from litecord.errors import GuildNotFound
|
|||
async def _create_guild(test_cli_staff, *, region=None) -> dict:
|
||||
genned_name = secrets.token_hex(6)
|
||||
|
||||
async with test_cli_staff.app.app_context():
|
||||
resp = await test_cli_staff.post(
|
||||
"/api/v6/guilds", json={"name": genned_name, "region": region}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue