• 
      

    Clean up and modernize code in repository API tests.

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

    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.

    Summary ID
    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
    Description From Last Updated

    This can be JSONDict.

    maubinmaubin

    This can also be JSONDict. Same with any other response dicts.

    maubinmaubin
    maubin
    1. 
        
    2. Show all issues

      This can be JSONDict.

    3. Show all issues

      This can also be JSONDict. Same with any other response dicts.

    4. 
        
    david
    maubin
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-7.x (7190d89)