-
- Downloads
Use literals in place of `HTTPStatus` constants in tests (#13479)
Replace
- `HTTPStatus.NOT_FOUND`
- `HTTPStatus.FORBIDDEN`
- `HTTPStatus.UNAUTHORIZED`
- `HTTPStatus.CONFLICT`
- `HTTPStatus.CREATED`
Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
Showing
- changelog.d/13479.misc 1 addition, 0 deletionschangelog.d/13479.misc
- tests/rest/admin/test_admin.py 3 additions, 4 deletionstests/rest/admin/test_admin.py
- tests/rest/admin/test_background_updates.py 2 additions, 2 deletionstests/rest/admin/test_background_updates.py
- tests/rest/admin/test_device.py 14 additions, 14 deletionstests/rest/admin/test_device.py
- tests/rest/admin/test_event_reports.py 8 additions, 8 deletionstests/rest/admin/test_event_reports.py
- tests/rest/admin/test_federation.py 5 additions, 5 deletionstests/rest/admin/test_federation.py
- tests/rest/admin/test_media.py 16 additions, 16 deletionstests/rest/admin/test_media.py
- tests/rest/admin/test_registration_tokens.py 13 additions, 13 deletionstests/rest/admin/test_registration_tokens.py
- tests/rest/admin/test_room.py 20 additions, 20 deletionstests/rest/admin/test_room.py
- tests/rest/admin/test_server_notice.py 4 additions, 4 deletionstests/rest/admin/test_server_notice.py
- tests/rest/admin/test_statistics.py 3 additions, 3 deletionstests/rest/admin/test_statistics.py
- tests/rest/admin/test_user.py 52 additions, 52 deletionstests/rest/admin/test_user.py
Loading
Please register or sign in to comment