Remove double Q(Q(...)) objects when comparing in Profile unit tests.
Review Request #12358 — Created June 10, 2022 and submitted
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
Profileunit tests to do the same.
Unit tests pass.