From c1595396c44a683e65f554a247c8014a5b12d8e9 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 5 Oct 2020 00:29:31 +1100 Subject: [PATCH] Unit testing: fix PEP issues --- InvenTree/stock/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/stock/tests.py b/InvenTree/stock/tests.py index 135cb48f8b..44b901e7b6 100644 --- a/InvenTree/stock/tests.py +++ b/InvenTree/stock/tests.py @@ -64,7 +64,7 @@ class StockTest(TestCase): # Add some stock items which are "building" for i in range(10): - item = StockItem.objects.create(part=part, quantity=10, is_building=True) + StockItem.objects.create(part=part, quantity=10, is_building=True) # The "is_building" quantity should not be counted here self.assertEqual(part.total_stock, n + 5)