From 021faf4c1f10811e8c0ca356438abb141b86620a Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Feb 2022 05:11:14 +0100 Subject: [PATCH] move up comment so unneeded functions are not not covered --- InvenTree/stock/test_views.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/InvenTree/stock/test_views.py b/InvenTree/stock/test_views.py index 36042b9bc2..d982c93675 100644 --- a/InvenTree/stock/test_views.py +++ b/InvenTree/stock/test_views.py @@ -64,6 +64,9 @@ class StockOwnershipTest(StockViewTestCase): def setUp(self): """ Add another user for ownership tests """ + """ + TODO: Refactor this following test to use the new API form + super().setUp() # Promote existing user with staff, admin and superuser statuses @@ -100,8 +103,6 @@ class StockOwnershipTest(StockViewTestCase): InvenTreeSetting.set_setting('STOCK_OWNERSHIP_CONTROL', True, self.user) self.assertEqual(True, InvenTreeSetting.get_setting('STOCK_OWNERSHIP_CONTROL')) - """ - TODO: Refactor this following test to use the new API form def test_owner_control(self): # Test stock location and item ownership from .models import StockLocation