adapt expectation
This commit is contained in:
parent
fea966e30f
commit
bb7cd733af
|
|
@ -2065,8 +2065,8 @@ class PartListTests(PartAPITestBase):
|
|||
if b and result['category'] is not None:
|
||||
self.assertIn('category_detail', result)
|
||||
|
||||
# No more than 20 DB queries
|
||||
self.assertLessEqual(len(ctx), 20)
|
||||
# No more than 22 DB queries
|
||||
self.assertLessEqual(len(ctx), 22)
|
||||
|
||||
def test_price_breaks(self):
|
||||
"""Test that price_breaks parameter works correctly and efficiently."""
|
||||
|
|
|
|||
Loading…
Reference in New Issue