Luna
2780ca4175
guilds: remove app_ param from delete_guild()
2019-10-25 10:24:20 -03:00
Luna
83a1c1ae29
black fmt pass
2019-10-25 07:27:50 -03:00
Luna
74c03f7dfa
fix tests
2019-07-21 12:58:51 -03:00
Luna
30902d6e8f
update many tests to the new TestClient fixture
2019-07-21 12:51:40 -03:00
Luna
eeaec19b2f
test_admin_api.test_guilds: add another check for unavailable guild
2019-04-22 03:51:39 -03:00
Luna
daee044a4f
admin_api.guilds: make get guild route raise GuildNotFound
...
before it was returning 200 but with a `null` inside, I don't think
that's reasonable API design.
- test_admin_api/test_guilds: add checks for GuildNotFound error code
2019-04-22 02:41:24 -03:00
Luna
4142baa84b
test_admin_api/test_guilds: add test_guild_delete
2019-04-22 02:37:29 -03:00
Luna
a6ecc84b9f
test_admin_api/test_guilds: add test_guild_update
...
- docs/admin_api.md: add note on unavailable guild object being
returned
2019-04-22 02:17:51 -03:00
Luna
d8b889c1a9
add tests/test_admin_api/test_guilds.py
...
- guilds: decouple endpoint logic into a delete_guild() function
2019-04-22 02:13:53 -03:00