diff --git a/InvenTree/part/test_views.py b/InvenTree/part/test_views.py index 840f0a94ca..16711c78f6 100644 --- a/InvenTree/part/test_views.py +++ b/InvenTree/part/test_views.py @@ -81,7 +81,7 @@ class PartDetailTest(PartViewTestCase): def test_bom_download(self): """ Test downloading a BOM for a valid part """ - response = self.client.get(reverse('bom-export', args=(1,)), HTTP_X_REQUESTED_WITH='XMLHttpRequest') + response = self.client.get(reverse('bom-download', args=(1,)), HTTP_X_REQUESTED_WITH='XMLHttpRequest') self.assertEqual(response.status_code, 200) self.assertIn('streaming_content', dir(response))