• 
      

    Modernize the ReviewGroupUserResource tests

    Review Request #8457 — Created Oct. 12, 2016 and submitted

    Information

    Review Board
    release-2.5.x
    d310b4f...

    Reviewers

    The tests for the ReviewGroupUserResource were not using the
    webapi_test_template decorator and were therefore hardcoding the
    resource URL into each test docstring. All such instances have been
    updated to use the decorator.

    In addition, the test for getting DELETE links on a local site has been
    udpated to use get_local_site and test fixtures.

    Ran unit tests. Saw they all contained the correct URLs.

    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          reviewboard/webapi/tests/test_review_group_user.py
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          reviewboard/webapi/tests/test_review_group_user.py
      
      
    2. 
        
    brennie
    chipx86
    1. Ship It!
      1. Im going to wait to land this because I want to update it once r/8458 is landed and merged so I don't have to do the same thing for the new test.

    2. 
        
    brennie
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-2.5.x (105db37)