diff --git a/InvenTree/part/test_api.py b/InvenTree/part/test_api.py index 9704734234..23f929bca0 100644 --- a/InvenTree/part/test_api.py +++ b/InvenTree/part/test_api.py @@ -855,7 +855,7 @@ class PartAPIAggregationTest(InvenTreeAPITestCase): return part # We should never get here! - self.assertTrue(False) + self.assertTrue(False) # pragma: no cover def test_stock_quantity(self): """ diff --git a/InvenTree/part/test_part.py b/InvenTree/part/test_part.py index 7c9eec983c..b61affcafd 100644 --- a/InvenTree/part/test_part.py +++ b/InvenTree/part/test_part.py @@ -110,7 +110,7 @@ class PartTest(TestCase): try: part.save() - self.assertTrue(False) + self.assertTrue(False) # pragma: no cover except: pass