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 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

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.
16273145887e0b898fcc1fa9efe399c051862389 David Trowbridge
reviewboard/webapi/tests/test_repository.py
Loading...