mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 02:28:43 +00:00
adapt expectation
This commit is contained in:
1 file changed
+2
-2
@@ -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