2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-15 16:58:14 +00:00

adapt expectation

This commit is contained in:
Matthias Mair
2025-11-26 13:05:12 +01:00
parent fea966e30f
commit bb7cd733af

View File

@@ -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."""