• 
      

    Update TestCase for new fixtures loading.

    Review Request #14808 — Created Feb. 10, 2026 and submitted

    Information

    Review Board
    release-7.1.x

    Reviewers

    Fixtures are now (primarily) loaded at class setup time rather than
    per-test-case. This change updates Review Board's TestCase class to
    handle that, and simplifies our handling of the test_scmtools
    fixture, which is not a real fixture file anymore but ends up triggering
    loading of SCMTools from the registry.

    Ran unit tests.

    Summary ID
    Update TestCase for new fixtures loading.
    Fixtures are now (primarily) loaded at class setup time rather than per-test-case. This change updates Review Board's TestCase class to handle that, and simplifies our handling of the `test_scmtools` fixture, which is not a real fixture file anymore but ends up triggering loading of SCMTools from the registry. Testing Done: Ran unit tests.
    wouswnzunlvymollknxvnnvkwxlzuzro
    Description From Last Updated

    This mentions the obsolete test_scmtools fixture, but I'm not sure it's obsolete. The fixture file itself certainly is, but we …

    chipx86chipx86

    I've been using 7.1 instead of 7.1.0.

    maubinmaubin
    chipx86
    1. 
        
    2. Show all issues

      This mentions the obsolete test_scmtools fixture, but I'm not sure it's obsolete. The fixture file itself certainly is, but we populate the fixture database when this is flagged, and iirc that still matters to many tests. Unless I'm mistaken, I think I wrote tests that needed that fixture loaded recently.

    3. 
        
    maubin
    1. 
        
    2. reviewboard/testing/testcase.py (Diff revision 1)
       
       
      Show all issues

      I've been using 7.1 instead of 7.1.0.

    3. 
        
    david
    maubin
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-7.1.x (2dde3b5)