-
- Downloads
Add type hints to `tests/rest/client` (#12108)
* Add type hints to `tests/rest/client` * newsfile * fix imports * add `test_account.py` * Remove one type hint in `test_report_event.py` * change `on_create_room` to `async` * update new functions in `test_third_party_rules.py` * Add `test_filter.py` * add `test_rooms.py` * change to `assertEquals` to `assertEqual` * lint
Showing
- changelog.d/12108.misc 1 addition, 0 deletionschangelog.d/12108.misc
- mypy.ini 0 additions, 6 deletionsmypy.ini
- tests/rest/client/test_account.py 157 additions, 133 deletionstests/rest/client/test_account.py
- tests/rest/client/test_filter.py 16 additions, 13 deletionstests/rest/client/test_filter.py
- tests/rest/client/test_relations.py 2 additions, 2 deletionstests/rest/client/test_relations.py
- tests/rest/client/test_report_event.py 15 additions, 10 deletionstests/rest/client/test_report_event.py
- tests/rest/client/test_rooms.py 138 additions, 133 deletionstests/rest/client/test_rooms.py
- tests/rest/client/test_third_party_rules.py 69 additions, 39 deletionstests/rest/client/test_third_party_rules.py
- tests/rest/client/test_typing.py 25 additions, 16 deletionstests/rest/client/test_typing.py
Loading
Please register or sign in to comment