fix setup

This commit is contained in:
Matthias 2022-05-19 00:16:03 +02:00
parent 5ab4fdeb84
commit d2ea76d350
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -89,7 +89,7 @@ class LabelTest(InvenTreeAPITestCase):
"""Test label rendering"""
# make sure the labels exsist
LabelConfig.create_labels()
apps.get_app_config('label').create_labels()
labels = PartLabel.objects.all()
part = PartLabel.objects.first()