Commit Graph

24 Commits

Author SHA1 Message Date
Luna 17e851e95f gateway: add resume_gateway_url to ready
close #143
2022-08-13 22:39:41 -03:00
Luna 6024eee19b add test for max_concurrency
see https://gitlab.com/litecord/litecord/-/merge_requests/82#note_728950904
2022-08-13 19:35:51 -03:00
luna 3b87a17477 tests: add websockets->wsproto translation layer 2022-01-29 23:38:21 +00:00
Luna c85f0806c7 test_websocket: add test for zlib stream 2022-01-25 23:47:33 -03:00
Luna d77a84be97 handle bot gateway connections
close #134
2021-11-01 22:15:48 -03:00
Cynthia Foxwell f162f0ab60 Update license headers 2021-09-24 11:33:06 -06: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 e5f8fe7243 add test for gateway message validation error 2021-06-30 18:42:20 -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 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 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 0631f007c1 test_websocket: add test for etf
- embed.sanitizer: remove unused import
2019-04-25 22:44:34 -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 9e1db1f9b4 test_gateway: add test_heartbeat
- tests.conftest: hardcode IS_SSL to False
2019-03-26 01:02:06 -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 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