2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

remove old test

This commit is contained in:
Matthias Mair
2024-10-28 21:39:48 +01:00
parent f4a043860c
commit b8cfe0e8a2

View File

@ -1,8 +1,5 @@
"""Unit tests for Order views (see views.py)."""
from django.test import tag
from django.urls import reverse
from InvenTree.unit_test import InvenTreeTestCase
@ -33,18 +30,3 @@ class OrderViewTestCase(InvenTreeTestCase):
'return_order.add',
'return_order.delete',
]
@tag('cui')
class PurchaseOrderTests(OrderViewTestCase):
"""Tests for PurchaseOrder views."""
def test_po_export(self):
"""Export PurchaseOrder."""
response = self.client.get(
reverse('po-export', args=(1,)),
headers={'x-requested-with': 'XMLHttpRequest'},
)
# Response should be streaming-content (file download)
self.assertIn('streaming_content', dir(response))