• 
      

    Support local sites in BaseFileAttachmentTestCase.make_filediff().

    Review Request #15165 — Created July 10, 2026 and updated

    Information

    Review Board
    release-8.x

    Reviewers

    This adds a with_local_site argument to
    BaseFileAttachmentTestCase.make_filediff() to allow for creating a
    filediff attached to a local site during unit tests.

    Used in an upcoming change's unit test and ran unit tests.

    Summary ID
    Support local sites in BaseFileAttachmentTestCase.make_filediff().
    This adds a `with_local_site` argument to `BaseFileAttachmentTestCase.make_filediff()` to allow for creating a filediff attached to a local site during unit tests.
    d3cd711929b5238d983a9b5efc22a394722ce882
    Description From Last Updated

    These all need ", optional"

    david david
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.
    david
    1. 
        
    2. reviewboard/attachments/tests/base.py (Diff revision 1)
       
       
       
       
       
       
       
       
       
       
       
       
      Show all issues

      These all need ", optional"

    3.