• 
      

    Fix ImageMimetypeTests to call super().setUp()

    Review Request #14616 — Created Sept. 15, 2025 and submitted — Latest diff uploaded

    Information

    Review Board
    release-7.1.x

    Reviewers

    The ImageMimetypeTests class has a setUp() method, but it didn't
    call the parent class one. I discovered this while running tests via
    pytest-xdist, and hit failures in this class because it was the first
    set of tests running on that thread, and initialize() had not been
    called before we were trying to access the review UI registry.

    Ran unit tests with xdist and a number of threads that exposed this bug,
    saw everything succeed.

    Commits

    Files