From 7793a22a35af964636db7231eb261e49a2ef4579 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Feb 2022 05:48:10 +0100 Subject: [PATCH] ignore wrong control view safeties --- InvenTree/part/test_api.py | 2 +- InvenTree/part/test_part.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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