mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	IPN fix
This commit is contained in:
		| @@ -348,7 +348,7 @@ class PartSettingsTest(TestCase): | |||||||
|         with self.assertRaises(ValidationError): |         with self.assertRaises(ValidationError): | ||||||
|             part = Part(name='Hello', description='A thing', IPN='IPN123', revision='C') |             part = Part(name='Hello', description='A thing', IPN='IPN123', revision='C') | ||||||
|             part.full_clean() |             part.full_clean() | ||||||
|          |  | ||||||
|         # Any duplicate IPN should raise an error |         # Any duplicate IPN should raise an error | ||||||
|         Part.objects.create(name='xyz', revision='1', description='A part', IPN='UNIQUE') |         Part.objects.create(name='xyz', revision='1', description='A part', IPN='UNIQUE') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user