Oliver
e57087de63
Fix unit test
2022-05-18 12:19:10 +10:00
Oliver
3b53260d75
Allow some variation in unit test
2022-05-18 11:51:14 +10:00
Matthias
9a0189b6bb
fix env name
2022-05-18 02:30:07 +02:00
Matthias
bdf28b72df
fix default
2022-05-18 02:25:44 +02:00
Matthias
4ac7d9626c
add missing test from merge back in
2022-05-18 02:07:28 +02:00
Matthias
9b37760856
fix assertations
2022-05-18 02:06:00 +02:00
Matthias
a570dab5e5
generalise function to make new methods simpler
2022-05-18 02:04:15 +02:00
Matthias
ca7fb691ac
make change patch simpler
2022-05-18 02:02:14 +02:00
Matthias
9f0b00cc0e
replace old function
2022-05-18 02:01:52 +02:00
Matthias
6e19187929
add missing import
2022-05-18 02:01:25 +02:00
Matthias
dc4affb3c5
Merge branch 'webp-support' of https://github.com/matmair/InvenTree into webp-support
2022-05-18 01:58:44 +02:00
Matthias
278c9dbf05
Merge branch 'master' of https://github.com/inventree/InvenTree into webp-support
2022-05-18 01:55:41 +02:00
Oliver
db75c31f6d
Translation merge ( #3022 )
...
* updated translation base
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations django.po from Crowdin
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-18 08:27:42 +10:00
Oliver Walters
b6c2ade940
Add unit test for downloading Part data
2022-05-18 07:52:29 +10:00
Oliver Walters
1c6d79451e
Don't decode downloaded .xls file
2022-05-18 07:25:43 +10:00
Matthias Mair
a40f189c7a
Use unierest mock for env setting
2022-05-17 19:23:50 +02:00
Oliver Walters
c5b14944a1
Unit tests for downloading BuildOrder data
2022-05-18 00:31:43 +10:00
Oliver Walters
0d078768fe
Unit tests for downloading PurchaseOrder data
2022-05-18 00:08:11 +10:00
Oliver Walters
a6be0b32c6
Add unit tests for exporting SalesOrder data
2022-05-17 23:48:58 +10:00
Oliver Walters
3488da19b0
Return data as a list of dict objects
2022-05-17 23:47:09 +10:00
Oliver Walters
a44267c306
bug fix
2022-05-17 23:22:40 +10:00
Oliver Walters
920e7e0bb7
Adds helper function to process and validate a downloaded .csv file
2022-05-17 23:21:30 +10:00
Oliver Walters
55000d5c48
Add ability to download file as StringIO or BytesIO
2022-05-17 22:28:46 +10:00
Oliver Walters
fd9f25dc0d
Adds helper function for testing a file download via the api
2022-05-17 21:26:33 +10:00
Oliver Walters
f4b470c396
Merge remote-tracking branch 'inventree/master' into shipment-assign-fix
2022-05-17 18:48:57 +10:00
Oliver
9bcbaaa5f5
Remove more python2 stuff
2022-05-17 16:57:31 +10:00
Oliver
e7b458978c
More unit tests
2022-05-17 15:10:48 +10:00
Oliver
01a30935f0
Add unit tests for BuildOutputDelete serializer
2022-05-17 14:20:41 +10:00
Oliver
5a0acedce6
Add unit tests for BuildOutputCreate serializer
2022-05-17 13:00:53 +10:00
Oliver
256451d82b
Fix context such that build output can be deleted
2022-05-17 11:52:42 +10:00
Matthias
fb55f5d2a2
convert remaining function
2022-05-17 01:32:08 +02:00
Matthias
728cccc469
fix assertation
2022-05-17 00:53:51 +02:00
Matthias
09af7d964d
raise a warning for assertations
2022-05-17 00:24:02 +02:00
Oliver Walters
aa7fcb3601
Remove status_code addition
2022-05-17 08:23:39 +10:00
Matthias
b3e42f5fb0
Add tests for offloading
2022-05-17 00:13:39 +02:00
Matthias
3e859f7abb
fix assertation
2022-05-16 23:51:17 +02:00
Matthias
9f3fdcb590
make test simpler
2022-05-16 23:43:07 +02:00
Matthias
09bda7e516
add checks for old_error_log
2022-05-16 23:42:09 +02:00
Matthias
f3c4720f5b
extend update check
2022-05-16 23:41:33 +02:00
Matthias Mair
2ec59a6ad2
extend tests for task_delete_succ
2022-05-16 19:45:00 +02:00
Matthias Mair
eb24bf78b8
external api failures are not covered
2022-05-16 19:39:43 +02:00
Matthias Mair
fc8a63325e
that was a stupid misstake
2022-05-16 18:57:27 +02:00
Matthias Mair
07711b8e74
fix check
2022-05-16 18:34:02 +02:00
Matthias Mair
79b4b23a07
pep fix
2022-05-16 18:33:49 +02:00
Matthias Mair
763cd13b7c
use a function if it was passed
2022-05-16 18:30:37 +02:00
Matthias Mair
7fc408cf60
move exceptions up
2022-05-16 18:29:41 +02:00
Matthias Mair
30dbfa9a4f
add tests for InvenTree.tasks
2022-05-16 18:21:58 +02:00
Matthias Mair
cce3d3a35d
make imports on function level
2022-05-16 18:01:16 +02:00
Matthias Mair
18a263ff75
do a local import
2022-05-16 17:55:45 +02:00
Matthias Mair
a9cfdf8fdb
fix import
2022-05-16 17:52:36 +02:00