mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-02 21:38:48 +00:00
move up comment so unneeded functions are not not covered
This commit is contained in:
parent
c84be228f1
commit
021faf4c1f
@ -64,6 +64,9 @@ class StockOwnershipTest(StockViewTestCase):
|
|||||||
def setUp(self):
|
def setUp(self):
|
||||||
""" Add another user for ownership tests """
|
""" Add another user for ownership tests """
|
||||||
|
|
||||||
|
"""
|
||||||
|
TODO: Refactor this following test to use the new API form
|
||||||
|
|
||||||
super().setUp()
|
super().setUp()
|
||||||
|
|
||||||
# Promote existing user with staff, admin and superuser statuses
|
# 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)
|
InvenTreeSetting.set_setting('STOCK_OWNERSHIP_CONTROL', True, self.user)
|
||||||
self.assertEqual(True, InvenTreeSetting.get_setting('STOCK_OWNERSHIP_CONTROL'))
|
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):
|
def test_owner_control(self):
|
||||||
# Test stock location and item ownership
|
# Test stock location and item ownership
|
||||||
from .models import StockLocation
|
from .models import StockLocation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user