Clean up and modernize code in repository API tests.
Review Request #14124 — Created Aug. 27, 2024 and submitted — Latest diff uploaded
This change cleans up the test_repository.py file in several ways:
- Ensure we have type hints everywhere.
- Add missing docstrings.
- Consistently use @webapi_test_template (including fixing one place
where we had a typo in "<URL>").
Ran tests in this file.