Remove double Q(Q(...)) objects when comparing in Profile unit tests.
Review Request #12358 — Created June 10, 2022 and submitted — Latest diff uploaded
Information | |
---|---|
chipx86 | |
Review Board | |
release-5.0.x | |
Reviewers | |
reviewboard | |
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.