From 882bda46b4bcde92d41b98f35009f82724953db1 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 11 Feb 2020 22:38:50 +1100 Subject: [PATCH] Fix tests --- InvenTree/part/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))