remove old test

This commit is contained in:
Matthias Mair 2024-10-28 21:39:48 +01:00
parent f4a043860c
commit b8cfe0e8a2
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 0 additions and 18 deletions

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))