Remove static label tests

Fixes #2989
This commit is contained in:
Matthias 2022-05-15 00:14:54 +02:00
parent c2dd8afea6
commit f8d3aedb1d
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -86,13 +86,3 @@ class LabelTest(InvenTreeAPITestCase):
with self.assertRaises(ValidationError):
validateFilterString(bad_filter_string, model=StockItem)
def test_label_rendering(self):
"""Test label rendering"""
labels = PartLabel.objects.all()
part = PartLabel.objects.first()
for label in labels:
url = reverse('api-part-label-print', kwargs={'pk': label.pk})
self.get(f'{url}?parts={part.pk}', expected_code=200)