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
Luna
0e57ad9633
test_websocket: use _close on test_ready
2019-03-26 23:50:10 -03:00
Luna
07c66d121a
test_websocket: add a _close helper
2019-03-26 23:47:52 -03:00
Luna
8d9ac79dbc
add guild create testing
...
related to #15 .
2019-03-26 23:43:19 -03:00
Luna
9e1db1f9b4
test_gateway: add test_heartbeat
...
- tests.conftest: hardcode IS_SSL to False
2019-03-26 01:02:06 -03:00
Luna
cc379df861
tests.conftest: add teardown to prevent overuse of resources
2019-03-16 21:13:10 -03:00
Luna
169d22ad72
test_admin_api.test_users: add impl for test_create_delete
...
- admin_api.users: fix bug
2019-03-16 20:31:28 -03:00
Luna
2dda7c1bf9
add tests.test_admin_api.test_users
2019-03-16 19:17:12 -03:00
Luna
ddb56891d1
add tests.test_admin_api.test_instance_invites
...
- admin_api.instance_invites: fixes
2019-03-16 17:38:22 -03:00
Luna
f22a9b92a9
remove voice websocket fields from configs
...
- run: remove vws spawn
- tests.conftest: rollback to unused_tcp_port fixture
2019-03-01 04:39:12 -03:00
Luna
ca5386d3ce
add VOICE_WEBSOCKET_URL to configs
...
- gateway: remove implicit /ws path, leave it up to configs
- run: fix start_websocket
2019-02-28 23:12:19 -03:00
Luna
53d7515f8c
all: update copyright year
2019-01-26 19:25:46 -03:00
Luna
2632d033fa
all: add GPL header
2018-12-07 02:14:58 -03:00
Luna
9b5902db95
tests: add test_embeds
...
- embeds.schemas: add EMBED_FIELD and EMBED_OBJECT.fields to use it
2018-12-04 22:54:39 -03:00
Luna Mendes
54fc80ea4e
tests.test_main: remove 'hewwo' content check
2018-11-21 22:06:10 -03:00
Luna Mendes
9547b5e536
tests: add test_user
...
- tests.common: add get_uid
2018-11-17 18:39:09 -03:00
Luna Mendes
a7f8852324
test.test_websocket: add test_ready_fields
...
- RatelimitManager: add a test flag to overwrite _ws.connect ratelimit
2018-11-17 04:09:22 -03:00
Luna Mendes
77c52a5c28
tests.test_websocket: add test_ready
2018-11-17 03:05:54 -03:00
Luna Mendes
069c39d29e
tests: add test_websocket.py
...
- tests.conftest: alter WEBSOCKET_URL as well
2018-11-17 02:51:07 -03:00
Luna Mendes
fb6a31a377
tests: add test_no_tracking.py
2018-11-13 02:53:53 -03:00
Luna Mendes
40f7efd1df
tests: add test_ratelimits, test_gateway
...
- tests: use event_loop fixture instead of get_event_loop
- tests: move custom fixtures to conftest
2018-11-13 01:10:43 -03:00
Luna Mendes
77a72f6a1d
manage.cmd: add users and tests subparsers
...
- litecord.auth: add hash_data, check_username_usage
- litecord.auth: add create_user
- tests: add credentials.py
2018-11-12 19:25:02 -03:00
Luna Mendes
1711192ac9
tests.test_main: fix testing
2018-11-12 17:39:30 -03:00
Luna Mendes
7b75202311
tests: add basic test
2018-11-12 04:10:31 -03:00