mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-15 16:58:14 +00:00
adapt expectation
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user