Remove double Q(Q(...)) objects when comparing in Profile unit tests.
Review Request #12358 — Created June 10, 2022 and submitted — Latest diff uploaded
A fix is in for Djblets to avoid an annoying quirk with Django where a
filter()
operation can create a nestedQ(Q(...))
. This was annoying
to compare, and Djblets now normalizes that.This updates the
Profile
unit tests to do the same.
Unit tests pass.