mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
IPN fix
This commit is contained in:
parent
a7c18891b5
commit
aa4df62ac9
@ -348,7 +348,7 @@ class PartSettingsTest(TestCase):
|
||||
with self.assertRaises(ValidationError):
|
||||
part = Part(name='Hello', description='A thing', IPN='IPN123', revision='C')
|
||||
part.full_clean()
|
||||
|
||||
|
||||
# Any duplicate IPN should raise an error
|
||||
Part.objects.create(name='xyz', revision='1', description='A part', IPN='UNIQUE')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user