Rename `create_test_json_resource` to `create_test_resource` (#8759)
The root resource isn't necessarily a JsonResource, so rename this method accordingly, and update a couple of test classes to use the method rather than directly manipulating self.resource.
Showing
- changelog.d/8759.misc 1 addition, 0 deletionschangelog.d/8759.misc
- tests/replication/_base.py 2 additions, 2 deletionstests/replication/_base.py
- tests/rest/admin/test_admin.py 1 addition, 1 deletiontests/rest/admin/test_admin.py
- tests/rest/key/v2/test_remote_key_resource.py 1 addition, 1 deletiontests/rest/key/v2/test_remote_key_resource.py
- tests/rest/test_health.py 2 additions, 4 deletionstests/rest/test_health.py
- tests/rest/test_well_known.py 2 additions, 4 deletionstests/rest/test_well_known.py
- tests/unittest.py 7 additions, 11 deletionstests/unittest.py
Loading
Please register or sign in to comment