mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-17 09:48:30 +00:00
adapt expectation
This commit is contained in:
@@ -2065,8 +2065,8 @@ class PartListTests(PartAPITestBase):
|
|||||||
if b and result['category'] is not None:
|
if b and result['category'] is not None:
|
||||||
self.assertIn('category_detail', result)
|
self.assertIn('category_detail', result)
|
||||||
|
|
||||||
# No more than 20 DB queries
|
# No more than 22 DB queries
|
||||||
self.assertLessEqual(len(ctx), 20)
|
self.assertLessEqual(len(ctx), 22)
|
||||||
|
|
||||||
def test_price_breaks(self):
|
def test_price_breaks(self):
|
||||||
"""Test that price_breaks parameter works correctly and efficiently."""
|
"""Test that price_breaks parameter works correctly and efficiently."""
|
||||||
|
|||||||
Reference in New Issue
Block a user