mirror of https://gitlab.com/litecord/litecord.git
tests: attempt to fix flakey tests
This commit is contained in:
parent
eb93b7f912
commit
22f5af9887
|
|
@ -75,6 +75,7 @@ async def test_guild_fetch(test_cli_staff):
|
|||
@pytest.mark.asyncio
|
||||
async def test_guild_update(test_cli_staff):
|
||||
"""Test the update of a guild via the Admin API."""
|
||||
async with test_cli_staff.app.app_context():
|
||||
rjson = await _create_guild(test_cli_staff)
|
||||
guild_id = rjson["id"]
|
||||
assert not rjson["unavailable"]
|
||||
|
|
@ -103,6 +104,7 @@ async def test_guild_update(test_cli_staff):
|
|||
@pytest.mark.asyncio
|
||||
async def test_guild_delete(test_cli_staff):
|
||||
"""Test the update of a guild via the Admin API."""
|
||||
async with test_cli_staff.app.app_context():
|
||||
rjson = await _create_guild(test_cli_staff)
|
||||
guild_id = rjson["id"]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue