mirror of https://gitlab.com/litecord/litecord.git
test_admin_api.test_guilds: add another check for unavailable guild
This commit is contained in:
parent
1507d422eb
commit
eeaec19b2f
|
|
@ -102,6 +102,9 @@ async def test_guild_update(test_cli):
|
||||||
assert isinstance(rjson, dict)
|
assert isinstance(rjson, dict)
|
||||||
assert rjson['id'] == guild_id
|
assert rjson['id'] == guild_id
|
||||||
assert rjson['unavailable']
|
assert rjson['unavailable']
|
||||||
|
|
||||||
|
rjson = await _fetch_guild(test_cli, guild_id, token=token)
|
||||||
|
assert rjson['unavailable']
|
||||||
finally:
|
finally:
|
||||||
await delete_guild(int(guild_id), app_=test_cli.app)
|
await delete_guild(int(guild_id), app_=test_cli.app)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue