assertNumQueriesLessThan -> assertNumQueriesLessThanOrEqualTo
ftobia opened this issue · comments
The behavior of "assertNumQueriesLessThan" is actually less than or equal to.
django-test-plus/test_plus/test.py
Line 42 in a09b723
I suggest one of:
- change the name to match the behavior
- change the behavior to match the name
- include both functions and make the behavior correct for each
Oooh good catch thanks for reporting it!