diff --git a/InvenTree/stock/test_api.py b/InvenTree/stock/test_api.py index 3b6facc9a6..21c355fae2 100644 --- a/InvenTree/stock/test_api.py +++ b/InvenTree/stock/test_api.py @@ -626,8 +626,6 @@ class StockItemDeletionTest(StockAPITestCase): self.assertFalse(item.scheduled_for_deletion) - url = reverse('api-stock-detail', kwargs={'pk': pk}) - # Request deletion via the API self.delete( reverse('api-stock-detail', kwargs={'pk': pk}), @@ -648,6 +646,7 @@ class StockItemDeletionTest(StockAPITestCase): 0 ) + class StockTestResultTest(StockAPITestCase): def get_url(self):