• 
      

    Remove double Q(Q(...)) objects when comparing in Profile unit tests.

    Review Request #12358 — Created June 10, 2022 and submitted

    Information

    Review Board
    release-5.0.x

    Reviewers

    A fix is in for Djblets to avoid an annoying quirk with Django where a
    filter() operation can create a nested Q(Q(...)). This was annoying
    to compare, and Djblets now normalizes that.

    This updates the Profile unit tests to do the same.

    Unit tests pass.

    Summary ID
    Remove double Q(Q(...)) objects when comparing in Profile unit tests.
    A fix is in for Djblets to avoid an annoying quirk with Django where a `filter()` operation can create a nested `Q(Q(...))`. This was annoying to compare, and Djblets now normalizes that. This updates the `Profile` unit tests to do the same.
    576acb020adeef2b789419902f238950bc539972
    david
    1. Ship It!
    2. 
        
    maubin
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.0.x (e30af2d)