diff --git a/InvenTree/part/test_views.py b/InvenTree/part/test_views.py index 9e51679e9a..212df848f3 100644 --- a/InvenTree/part/test_views.py +++ b/InvenTree/part/test_views.py @@ -124,6 +124,12 @@ class PartTests(PartViewTestCase): response = self.client.get(reverse('part-duplicate', args=(1,)), HTTP_X_REQUESTED_WITH='XMLHttpRequest') self.assertEqual(response.status_code, 200) + def test_make_variant(self): + + response = self.client.get(reverse('make-part-variant', args=(1,)), HTTP_X_REQUESTED_WITH='XMLHttpRequest') + self.assertEqual(response.status_code, 200) + + class PartAttachmentTests(PartViewTestCase): def test_valid_create(self):