Commit Graph
100 Commits
Author SHA1 Message Date
Matthias MairandGitHub fe4cbe0ad9 Merge branch 'master' into devOps 2022-05-19 18:28:15 +02:00
Matthias MairandGitHub f98ec6cf35 Add pre-commit comment 2022-05-19 01:34:39 +02:00
Matthias 3fd5761089 Merge branch 'master' of https://github.com/inventree/InvenTree into devOps 2022-05-18 23:39:58 +02:00
Matthias MairandGitHub 21750c92d3 remove branch from test 2022-05-18 02:33:09 +02:00
Matthias MairandGitHub c4208782c5 Update docker_test.yaml 2022-05-18 02:31:04 +02: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
Matthias MairandGitHub a40f189c7a Use unierest mock for env setting 2022-05-17 19:23:50 +02: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
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
Matthias Mair 2df049fe05 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue3005 2022-05-16 17:48:01 +02:00
Matthias Mair 0f5c03e44c use direct import instead of text for offload 2022-05-16 17:45:51 +02:00
Matthias Mair 9ec626b650 Also allow non string references
Fixes #3005
2022-05-16 17:29:14 +02:00
Matthias b630fb2856 update envguard import 2022-05-16 16:41:00 +02:00
Matthias 545756eacb add docstring testing 2022-05-16 01:20:04 +02:00
Matthias da36af2021 fix link 2022-05-16 01:19:07 +02:00
Matthias a07fdb7c16 add docstring comment 2022-05-16 01:18:55 +02:00
Matthias c5db595b54 add isort 2022-05-16 01:13:04 +02:00
Matthias af6eac8cc9 Add isort 2022-05-16 01:12:19 +02:00
Matthias 552622fb47 remove docstring tests 2022-05-16 00:21:35 +02:00
Matthias 55ee0836f8 add flake8 to the hooks 2022-05-16 00:20:07 +02:00
Matthias cc2081bf50 add hook auto-update to setup 2022-05-16 00:19:37 +02:00
Matthias a67a6c55c2 declare as task 2022-05-16 00:19:03 +02:00
Matthias f1553337f7 add pre-commit 2022-05-16 00:15:25 +02:00
Matthias 74a3abc4a2 make args wider 2022-05-15 23:26:46 +02:00
Matthias 3154a4ebd0 remove old import catching 2022-05-15 21:01:55 +02:00
Matthias ecccfbd546 Remove encoding header
Fixes #2996
2022-05-15 20:33:00 +02:00
Matthias 9c342e1fe3 fix definition 2022-05-15 20:06:07 +02:00
Matthias a8d3ee15bf fix func definition 2022-05-15 20:05:56 +02:00
Matthias cced30c081 pass through request data 2022-05-15 18:41:39 +02:00
Matthias 23608e6933 remove unneeded args 2022-05-15 18:36:33 +02:00
Matthias d9fe7ac272 general Todo - no specific task
removed therefore
2022-05-15 18:09:39 +02:00
Matthias f4fbd57e6e errors fail whole plugins now so no saving 2022-05-15 18:09:05 +02:00
Matthias 45d70737bd we do not have server stats checks so this does not make sende 2022-05-15 18:08:42 +02:00
Matthias 9e590c1bc6 this seems fine - just keep it that way 2022-05-15 18:06:32 +02:00
Matthias c7a2d11893 refactor to make simpler 2022-05-15 18:02:12 +02:00
Matthias 8b9c80d2a4 remove todo that is not fitting any more 2022-05-15 17:55:05 +02:00
Matthias 136d642703 Merge branch 'fix-boolean' of https://github.com/matmair/InvenTree into fix-boolean 2022-05-15 17:52:34 +02:00
Matthias 77aeecf23a make operators simpler 2022-05-15 17:52:23 +02:00
Matthias ca0508f2f0 update to https to match hotspots 2022-05-15 17:22:58 +02:00
Matthias 076098a0e0 use static reference
this is stupid but is required
2022-05-15 16:50:17 +02:00
Matthias 0c0b2efbe0 raise error 2022-05-15 16:46:05 +02:00
Matthias MairandGitHub 3b60b98594 Merge branch 'inventree:master' into fix-boolean 2022-05-15 16:28:51 +02:00
Matthias MairandGitHub 17513e9429 Merge branch 'inventree:master' into fix-actions 2022-05-15 16:27:38 +02:00
Matthias MairandGitHub e83f9ead0a update tags to new names 2022-05-15 15:58:20 +02:00
Matthias MairandGitHub 55b909a1de fix new lines 2022-05-15 15:56:08 +02:00
Matthias MairandGitHub 76266ab98a use python 3.9 here too 2022-05-15 15:52:55 +02:00
Matthias MairandGitHub 8366c6a2a3 bump python version 2022-05-15 15:49:41 +02:00
Matthias MairandGitHub dcbd9d906b Update errors 2022-05-15 04:47:45 +02:00
Matthias 897dd115f9 PEP fix 2022-05-15 04:14:13 +02:00
Matthias b0439267ea fix error-type to use custom errors 2022-05-15 04:12:57 +02:00
Matthias 025c6f9b82 raise proper error 2022-05-15 04:08:45 +02:00
Matthias 7a102dcd8e PEP fix 2022-05-15 03:22:43 +02:00
Matthias 976cbfbb8b remove old definition 2022-05-15 03:20:11 +02:00
Matthias 5048d51558 Refactor printer into own base dir 2022-05-15 03:19:47 +02:00
Matthias 43b1d25016 PEP fix 2022-05-15 03:06:35 +02:00
Matthias 4fa23cbe4d split up tests 2022-05-15 02:58:01 +02:00
Matthias 777e3f42df fix test 2022-05-15 02:57:23 +02:00
Matthias 68940deb5b rename test 2022-05-15 02:56:05 +02:00
Matthias e68cd009f6 fix input 2022-05-15 02:54:21 +02:00
Matthias b3f65735bf fix test assertations 2022-05-15 02:53:12 +02:00
Matthias eb7e9f4703 test url args in action 2022-05-15 02:49:08 +02:00
Matthias 7abdffae0d Add post test 2022-05-15 02:48:59 +02:00
Matthias 7c0dea69b0 add test for api_call with full url 2022-05-15 02:42:40 +02:00
Matthias 039dbbbe7e fix doctest 2022-05-15 02:40:23 +02:00
Matthias 442341de50 split into more tests 2022-05-15 02:39:55 +02:00
Matthias 3e6b37bf55 Add test without simple_response 2022-05-15 02:35:06 +02:00
Matthias 8c6061d3b7 move failing test to seperate test 2022-05-15 02:32:26 +02:00
Matthias aeaf15b374 Test action error messages 2022-05-15 02:25:30 +02:00
Matthias 9609d8ae09 Add tests for PLUGIN_ON_STARTUP 2022-05-15 01:59:07 +02:00
Matthias abac26725b use returns for checks 2022-05-15 01:47:44 +02:00
Matthias 640242eca3 Add tests for plugin installs form url with pkgn 2022-05-15 01:32:52 +02:00
Matthias 1cb51d1782 Do not cover custom install dirs 2022-05-15 01:29:50 +02:00
Matthias 76f92003fd Fix assertation 2022-05-15 01:15:00 +02:00
Matthias 6660069f45 add docs 2022-05-15 01:10:46 +02:00