mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Remove old unit test
This commit is contained in:
		| @@ -269,25 +269,6 @@ class BuildTest(TestCase): | ||||
|  | ||||
|         self.assertTrue(self.build.areUntrackedPartsFullyAllocated()) | ||||
|  | ||||
|     def test_auto_allocate(self): | ||||
|         """ | ||||
|         Test auto-allocation functionality against the build outputs. | ||||
|  | ||||
|         Note: auto-allocations only work for un-tracked stock! | ||||
|         """ | ||||
|  | ||||
|         allocations = self.build.getAutoAllocations() | ||||
|  | ||||
|         self.assertEqual(len(allocations), 1) | ||||
|  | ||||
|         self.build.autoAllocate() | ||||
|         self.assertEqual(BuildItem.objects.count(), 1) | ||||
|  | ||||
|         # Check that one un-tracked part has been fully allocated to the build | ||||
|         self.assertTrue(self.build.isPartFullyAllocated(self.sub_part_2, None)) | ||||
|  | ||||
|         self.assertFalse(self.build.isPartFullyAllocated(self.sub_part_1, None)) | ||||
|  | ||||
|     def test_cancel(self): | ||||
|         """ | ||||
|         Test cancellation of the build | ||||
|   | ||||
| @@ -1424,7 +1424,6 @@ function initializeRelatedField(field, fields, options) { | ||||
|         } | ||||
|     }); | ||||
|  | ||||
|      | ||||
|     // If a 'value' is already defined, grab the model info from the server | ||||
|     if (field.value) { | ||||
|          | ||||
|   | ||||
		Reference in New Issue
	
	Block a user