mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
update check
This commit is contained in:
parent
4d4a164923
commit
c97a2531a0
@ -11,6 +11,7 @@ from InvenTree.helpers import validateFilterString
|
||||
from InvenTree.api_tester import InvenTreeAPITestCase
|
||||
|
||||
from .models import StockItemLabel, StockLocationLabel, PartLabel
|
||||
from part.models import Part
|
||||
from stock.models import StockItem
|
||||
|
||||
|
||||
@ -88,7 +89,7 @@ class LabelTest(InvenTreeAPITestCase):
|
||||
"""Test label rendering"""
|
||||
|
||||
labels = PartLabel.objects.all()
|
||||
part = PartLabel.objects.first()
|
||||
part = Part.objects.first()
|
||||
|
||||
for label in labels:
|
||||
url = reverse('api-part-label-print', kwargs={'pk': label.pk})
|
||||
|
Loading…
Reference in New Issue
Block a user