Luna
2f9fea2740
test_channels: validate new channels can be fetched on api
2021-09-13 22:20:12 -03:00
Luna
3d27a30339
tests: use test user on test_user_update
2021-09-07 00:07:36 -03:00
Luna
829767318e
tests: add more fields to WrappedUser
2021-09-07 00:05:17 -03:00
Luna
866accb45f
tests: add test for different member deleting own message
2021-09-06 00:14:43 -03:00
Luna
e5691e1362
tests: make all parameters optional on create_user
2021-09-06 00:14:28 -03:00
Luna
d7abc1e700
add test_channels
2021-09-05 23:58:24 -03:00
Luna
4fa8fd9d39
tests: add support for guild channels and messages
2021-09-05 23:58:08 -03:00
Luna
948627efd1
tests: make test app fixture async
2021-09-05 18:29:03 -03:00
Luna
de4c5a5e75
remove unused import
2021-09-05 15:56:04 -03:00
Luna
60e21a1733
tests: use test guild resource for admin api test_guilds
2021-09-05 15:55:20 -03:00
Luna
494a6b5c63
tests: add support for test guild resources
2021-09-05 15:50:27 -03:00
Luna
ddf27ace1a
tests: add test_find_single_user with test resources
2021-09-05 14:05:11 -03:00
Luna
7b98b2332f
tests: add test resource awareness
2021-09-05 14:04:59 -03:00
Luna
0a429ee47e
add support for user.bio, user.accent_color CRUD
2021-08-29 15:53:00 -03:00
Luna
b650414bb9
add READY_SUPPLEMENTAL support
2021-08-28 19:56:44 -03:00
Luna
9a09311c68
change ready.relationships structure on gateway v9
2021-08-28 18:12:33 -03:00
Luna
22f5af9887
tests: attempt to fix flakey tests
2021-07-09 22:20:45 -03:00
Luna
9293803e11
tests: attempt to fix flakey test
2021-07-09 18:50:32 -03:00
Luna
87f77e65f1
test_guilds: hotfix for missing app
2021-06-30 22:33:38 -03:00
Luna
e5f8fe7243
add test for gateway message validation error
2021-06-30 18:42:20 -03:00
Luna
bd1d756d22
black run on tests folder
2021-06-25 15:19:51 -03:00
Luna
323013cb87
Add test to ensure a removed state invalidates WS
2020-04-05 15:08:46 -03:00
Luna
8e6bbdbe19
Add test for session resumption
2020-04-05 14:46:39 -03:00
Luna
9567bf0a85
admin_api.voice: refresh lvsp regions on insert
...
closes #76
2020-01-29 19:52:44 +00:00
Luna
6e81b8d5fb
test_embeds: assert path_exists for simple case
2020-01-24 21:32:35 -03:00
Luna
c765cd7fe0
fix imports
2019-10-25 16:01:48 -03:00
Luna
2780ca4175
guilds: remove app_ param from delete_guild()
2019-10-25 10:24:20 -03:00
Luna
4d87256cc3
tests.conftest: use app_context on create_user call
2019-10-25 08:57:45 -03:00
Luna
b0ef3c4d0c
tests.conftest: use app_context for delete_user call
...
- admin_api.users: remove app arg passing
2019-10-25 08:51:52 -03:00
Luna
0cc1062c52
flake8 pass
...
- fix test_empty_embed not actually reporting on empty embeds
2019-10-25 08:06:26 -03:00
Luna
83a1c1ae29
black fmt pass
2019-10-25 07:27:50 -03:00
Luna
0bc4b1ba3f
manage.cmd.users, tests.conftest: follow new kwargs for delete_user
2019-09-30 10:55:12 -03:00
Luna
f7de5c5596
tests.common: remove login() and get_uid()
2019-07-21 13:02:19 -03:00
Luna
a26f665c81
rm tests/credentials.py
2019-07-21 13:00:42 -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
7b07254741
test_cli_admin -> test_cli_staff
2019-07-21 12:34:51 -03:00
Luna
cc4e4c53a9
copy elixire test user impl
2019-07-21 12:30:52 -03:00
Luna
23c7ac2c34
test_admin_api.test_users: properly delete test users
2019-05-10 17:27:54 -03:00
Luna
268b921961
gateway.websocket: add shards field to ready
...
see https://github.com/discordapp/discord-api-docs/pull/826
2019-05-05 17:15:53 -03:00
Luna
454f368f94
tests.test_embeds: add tests for path_exists
...
- embed.sanitizer: better error handling when fetching the key
2019-04-26 17:00:01 -03:00
Luna
0631f007c1
test_websocket: add test for etf
...
- embed.sanitizer: remove unused import
2019-04-25 22:44:34 -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
Luna
e65db52c62
test_admin_api/test_users: add impl for test_user_update
2019-04-22 01:27:43 -03:00
Luna
644d755332
test_admin_api/test_users: decouple user creation and deletion
...
- remove hardcoding of 'big_girl' username on test_list_users
2019-04-22 01:11:34 -03:00
Luna
d458f22967
add test_create_user to tests/test_user.py
...
- tests.conftest: hardcode REGISTRATIONS to true
- tests/test_user: better assertions for test_get_me
2019-03-31 18:17:39 -03:00