mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Cleanup / consolidate unit testing code (#4831)
- Move testing code out of helpers.py - Create new file unit_test.py
This commit is contained in:
		| @@ -2,7 +2,7 @@ | ||||
|  | ||||
| from django.urls import reverse | ||||
|  | ||||
| from InvenTree.api_tester import InvenTreeAPITestCase | ||||
| from InvenTree.unit_test import InvenTreeAPITestCase | ||||
|  | ||||
|  | ||||
| class TestReportTests(InvenTreeAPITestCase): | ||||
|   | ||||
| @@ -9,8 +9,8 @@ from django.core.files.base import ContentFile | ||||
| from django.urls import reverse | ||||
|  | ||||
| from common.models import InvenTreeSetting | ||||
| from InvenTree.api_tester import InvenTreeAPITestCase | ||||
| from InvenTree.helpers import validateFilterString | ||||
| from InvenTree.unit_test import InvenTreeAPITestCase | ||||
| from part.models import Part | ||||
| from stock.models import StockItem | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user