mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
even more unit tests
This commit is contained in:
parent
655e5692e9
commit
c7712d4235
@ -434,8 +434,8 @@ class PartAPITest(InvenTreeAPITestCase):
|
|||||||
self.assertTrue(data['active'])
|
self.assertTrue(data['active'])
|
||||||
self.assertFalse(data['virtual'])
|
self.assertFalse(data['virtual'])
|
||||||
|
|
||||||
# By default, parts are not purchaseable
|
# By default, parts are purchaseable
|
||||||
self.assertFalse(data['purchaseable'])
|
self.assertTrue(data['purchaseable'])
|
||||||
|
|
||||||
# Set the default 'purchaseable' status to True
|
# Set the default 'purchaseable' status to True
|
||||||
InvenTreeSetting.set_setting(
|
InvenTreeSetting.set_setting(
|
||||||
|
Loading…
Reference in New Issue
Block a user