test_guilds: hotfix for missing app

This commit is contained in:
Luna 2021-06-30 22:33:38 -03:00
parent fb817e129a
commit 87f77e65f1
1 changed files with 4 additions and 3 deletions

View File

@ -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}
)