2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +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:
Oliver
2023-05-17 07:35:26 +10:00
committed by GitHub
parent f85b378115
commit 4785f465e8
43 changed files with 138 additions and 139 deletions

View File

@ -18,9 +18,9 @@ import company.models
import order.models
from common.models import InvenTreeSetting
from company.models import Company, SupplierPart
from InvenTree.api_tester import InvenTreeAPITestCase
from InvenTree.status_codes import (BuildStatus, PurchaseOrderStatus,
StockStatus)
from InvenTree.unit_test import InvenTreeAPITestCase
from part.models import (BomItem, BomItemSubstitute, Part, PartCategory,
PartCategoryParameterTemplate, PartParameterTemplate,
PartRelated, PartStocktake)