• 
      

    Add a unit test utility function for creating users.

    Review Request #10649 — Created July 27, 2019 and submitted

    Information

    Review Board
    release-3.0.x
    7343ef4...

    Reviewers

    This introduces a create_user() function for test suites that
    simplifies creating users with some default data, and makes it easier to
    add permissions for a user (which normally requires some annoying
    queries).

    Over time, this will reduce the need for the test_users fixture,
    generally speeding up tests.

    Used this successfully in an upcoming change.

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