Clean up and modernize code in repository API tests.

Review Request #14124 — Created Aug. 27, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

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.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Clean up and modernize code in repository API tests.
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>"). Testing Done: Ran tests in this file.
781463c2a6982cc829a32b4e3c3a8a23f8e98594 David Trowbridge
reviewboard/webapi/tests/test_repository.py
Loading...