• 
      

    Improve and document some of the unit test model creation functions.

    Review Request #9043 — Created June 29, 2017 and submitted

    Information

    Review Board
    release-3.0.x
    4781c1d...

    Reviewers

    The base TestCase used for our unit tests offer a number of useful
    functions for creating instances of the models we need. This expands
    that support for many of them and fleshes out documentation for the ones
    gaining new parameters.

    The comment creation methods now allow for custom issue statuses and
    arbitrary model attributes to be set.

    create_review() no longer takes a username argument (which was
    unused in the function). The only caller of this has been updated to use
    user instead. This also allow for arbitrary model attributes.

    create_status_update() now accepts a review argument.

    All unit tests pass.

    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-3.0.x (52215f9)