2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
dd476ce796 Add unit tests for the 'locate' plugin
- Test various failure modes
- Some of the failure modes didn't fail - this is also a failure
- Fixing API code accordingly
2022-05-18 22:20:29 +10:00
0e0ba66b9a Fix broken calls to offload_task 2022-05-18 21:40:53 +10:00
9bcbaaa5f5 Remove more python2 stuff 2022-05-17 16:57:31 +10:00
fb55f5d2a2 convert remaining function 2022-05-17 01:32:08 +02:00
c51f052f25 Merge pull request #3011 from matmair/matmair/issue2996
Remove python 2 code
2022-05-17 00:51:31 +10:00
042cb021de Merge pull request #2957 from SchrodingersGat/locate-mixin
Adds plugin mixin to "locate" items
2022-05-16 22:57:20 +10:00
57d481a8b8 Merge pull request #2999 from matmair/fix-todos
Fix Todo texts
2022-05-16 09:16:34 +10:00
ecccfbd546 Remove encoding header
Fixes #2996
2022-05-15 20:33:00 +02:00
a8d3ee15bf fix func definition 2022-05-15 20:05:56 +02:00
cced30c081 pass through request data 2022-05-15 18:41:39 +02:00
23608e6933 remove unneeded args 2022-05-15 18:36:33 +02:00
9e590c1bc6 this seems fine - just keep it that way 2022-05-15 18:06:32 +02:00
c7a2d11893 refactor to make simpler 2022-05-15 18:02:12 +02:00
0c0b2efbe0 raise error 2022-05-15 16:46:05 +02:00
eebdad154a PEP fixes 2022-05-16 00:12:33 +10:00
95dbfa1958 Merge remote-tracking branch 'inventree/master' into locate-mixin
# Conflicts:
#	InvenTree/InvenTree/api.py
#	InvenTree/InvenTree/urls.py
#	InvenTree/plugin/base/integration/mixins.py
#	InvenTree/plugin/mixins/__init__.py
2022-05-16 00:10:38 +10:00
dcbd9d906b Update errors 2022-05-15 04:47:45 +02:00
897dd115f9 PEP fix 2022-05-15 04:14:13 +02:00
b0439267ea fix error-type to use custom errors 2022-05-15 04:12:57 +02:00
025c6f9b82 raise proper error 2022-05-15 04:08:45 +02:00
7a102dcd8e PEP fix 2022-05-15 03:22:43 +02:00
976cbfbb8b remove old definition 2022-05-15 03:20:11 +02:00
5048d51558 Refactor printer into own base dir 2022-05-15 03:19:47 +02:00
43b1d25016 PEP fix 2022-05-15 03:06:35 +02:00
4fa23cbe4d split up tests 2022-05-15 02:58:01 +02:00
777e3f42df fix test 2022-05-15 02:57:23 +02:00
68940deb5b rename test 2022-05-15 02:56:05 +02:00
e68cd009f6 fix input 2022-05-15 02:54:21 +02:00
eb7e9f4703 test url args in action 2022-05-15 02:49:08 +02:00
7abdffae0d Add post test 2022-05-15 02:48:59 +02:00
7c0dea69b0 add test for api_call with full url 2022-05-15 02:42:40 +02:00
039dbbbe7e fix doctest 2022-05-15 02:40:23 +02:00
442341de50 split into more tests 2022-05-15 02:39:55 +02:00
3e6b37bf55 Add test without simple_response 2022-05-15 02:35:06 +02:00
8c6061d3b7 move failing test to seperate test 2022-05-15 02:32:26 +02:00
aeaf15b374 Test action error messages 2022-05-15 02:25:30 +02:00
272d2f79cc patch mixin 2022-05-11 16:55:38 +02:00
1782974df8 replace depreceated values everywhere 2022-05-11 16:46:03 +02:00
e8c9d71360 Adapt docs 2022-05-11 14:55:45 +02:00
1571b99ed2 rename IntegrationPluginBase to InvenTreePlugin 2022-05-11 14:28:26 +02:00
05839ca94c remove legacy action 2022-05-11 14:20:05 +02:00
1636459ccd move to use shim 2022-05-11 14:02:45 +02:00
7361a9637a move event back 2022-05-11 13:49:49 +02:00
182ffd880a init directories 2022-05-11 13:46:07 +02:00
887609cf2a move import 2022-05-11 13:38:24 +02:00
1098327ba9 move out templete renderer into helper 2022-05-11 13:32:29 +02:00
970503f424 refactor events 2022-05-11 13:28:59 +02:00
51cca7a13c move apis to their respective bases 2022-05-11 13:10:29 +02:00
499f37a97a PEP fix 2022-05-11 12:55:52 +02:00
16a2328702 move tests to their functions 2022-05-11 12:55:04 +02:00