From fa346257f5fe87f8e9b64c211b0eed0536b2d231 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 12 Dec 2022 23:27:22 +1100 Subject: [PATCH] More unit test fixes --- InvenTree/part/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/part/test_api.py b/InvenTree/part/test_api.py index 173e2fd2af..cf4c22afcb 100644 --- a/InvenTree/part/test_api.py +++ b/InvenTree/part/test_api.py @@ -358,7 +358,7 @@ class PartCategoryAPITest(InvenTreeAPITestCase): # Create parts in the child categories for jj in range(3): child_categories_parts.append(Part.objects.create( - name=f"Part xyz {jj}", + name=f"Part xyz {jj}_{ii}", description="Child part in the child category of the deleted category", category=child ))