2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

Add unit test for downloading Part data

This commit is contained in:
Oliver Walters
2022-05-18 07:52:29 +10:00
parent 1c6d79451e
commit b6c2ade940
3 changed files with 55 additions and 1 deletions

View File

@ -989,7 +989,7 @@ class SalesOrderDownloadTest(OrderTest):
},
expected_code=200,
expected_fn='InvenTree_SalesOrders.xls',
deode=False,
decode=False,
) as fo:
self.assertTrue(isinstance(fo, io.BytesIO))