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.assertFalse(data['virtual'])
|
||||
|
||||
# By default, parts are not purchaseable
|
||||
self.assertFalse(data['purchaseable'])
|
||||
# By default, parts are purchaseable
|
||||
self.assertTrue(data['purchaseable'])
|
||||
|
||||
# Set the default 'purchaseable' status to True
|
||||
InvenTreeSetting.set_setting(
|
||||
|
|
|
|||
Loading…
Reference in New Issue