diff --git a/InvenTree/label/tests.py b/InvenTree/label/tests.py index 0adc81abd4..d8c3b6013f 100644 --- a/InvenTree/label/tests.py +++ b/InvenTree/label/tests.py @@ -91,7 +91,7 @@ class LabelTest(InvenTreeAPITestCase): def test_label_rendering(self): """Test label rendering""" - labels = [PartLabel.objects.first(), ] + labels = PartLabel.objects.all() part = PartLabel.objects.first() for label in labels: