Make testing for root reviews and root comments APIs more robust and clear

Review Request #12445 — Created July 8, 2022 and submitted

Information

Review Board
release-5.0.x

Reviewers

This change improves the tests for the root reviews and root comments
API endpoints. The tests are more clear, organized and well documented,
and have more comprehensive test coverage surrounding access control.

Successfully ran the unit tests that were modified.

Summary ID
Make testing for root reviews and root comments API more robust and clear
8d195ffb5a017277d16614d4eafa1a88dcd8dd16
Description From Last Updated

This extra blank line can go away.

daviddavid

No blank line here.

chipx86chipx86

No blank line here.

chipx86chipx86
david
  1. This is great!

  2. Show all issues

    This extra blank line can go away.

  3. 
      
maubin
chipx86
  1. This is a lot of work, and it's excellent. Thanks for doing this!

    Two tiny nits, then ship it :)

  2. reviewboard/webapi/tests/test_root_review.py (Diff revision 2)
     
     
     
     
    Show all issues

    No blank line here.

  3. reviewboard/webapi/tests/test_root_review.py (Diff revision 2)
     
     
     
     
    Show all issues

    No blank line here.

  4. 
      
maubin
maubin
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.0.x (3d6e1c3)