mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Add metadata endpoints for SalesOrder and PurchaseOrder models
This commit is contained in:
		@@ -199,7 +199,7 @@ class PartTest(TestCase):
 | 
			
		||||
        with self.assertRaises(ValidationError):
 | 
			
		||||
            part_2.validate_unique()
 | 
			
		||||
 | 
			
		||||
    def test_metadata(self):
 | 
			
		||||
    def test_attributes(self):
 | 
			
		||||
        self.assertEqual(self.r1.name, 'R_2K2_0805')
 | 
			
		||||
        self.assertEqual(self.r1.get_absolute_url(), '/part/3/')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user