<p>TIL: if you need to use both override_flag (django-waffle) and either django_assert_num_queries (pytest-django) or assertNumQueries (django testcase), make sure to have override_flags being put first or you'll end up tainting your number of queries assertion with those from flag value override</p>