Commit Graph
100 Commits
Author SHA1 Message Date
Matthias Mair 556b7036aa remove repo name from assertations
this breaks on other runners (gitlab, azure devops) as they handle repo names in another way
2022-05-20 18:42:41 +02:00
Matthias Mair 63c64f9dff Update apps.py 2022-05-20 08:31:21 +02:00
Matthias Mair c98cae8c1f switch print with assert 2022-05-20 08:19:14 +02:00
Matthias Mair e1abdddc4a Merge branch 'inventree:master' into not-working-tests 2022-05-20 00:28:35 +02:00
Matthias b87f44dbfc skip css if not available 2022-05-20 00:10:41 +02:00
Matthias Mair fe4cbe0ad9 Merge branch 'master' into devOps 2022-05-19 18:28:15 +02:00
Matthias Mair eac6456949 Update tasks.py 2022-05-19 08:04:20 +02:00
Matthias Mair dfaf7bcad8 Add static into apps 2022-05-19 07:57:45 +02:00
Matthias Mair b55c76d8ef test everything 2022-05-19 06:54:24 +02:00
Matthias 113a10eb8a disable static test for now 2022-05-19 01:48:58 +02:00
Matthias b2f5c60877 update pip before running - reduce warnings 2022-05-19 01:46:04 +02:00
Matthias 890a5cd1e6 rollback testing dsaveguards and add docs 2022-05-19 01:43:28 +02:00
Matthias Mair f98ec6cf35 Add pre-commit comment 2022-05-19 01:34:39 +02:00
Matthias 38f8e9c9ab remove duplicate install 2022-05-19 01:13:47 +02:00
Matthias c97a2531a0 update check 2022-05-19 01:06:14 +02:00
Matthias 4d4a164923 do full update 2022-05-19 01:02:24 +02:00
Matthias e348d05181 update installed apps 2022-05-19 01:02:07 +02:00
Matthias 295c849447 and print 2022-05-19 00:26:59 +02:00
Matthias 8dedf95a8d make 'some' request 2022-05-19 00:25:27 +02:00
Matthias 734affb983 PEP fix 2022-05-19 00:22:00 +02:00
Matthias 254c2ccca0 this should already happen in SetUp 2022-05-19 00:21:33 +02:00
Matthias 99f3fc814d add warning if DB not ready 2022-05-19 00:20:48 +02:00
Matthias 84871fdc79 remove tries - if we are here the AppReg should be ready or fail 2022-05-19 00:19:14 +02:00
Matthias d2ea76d350 fix setup 2022-05-19 00:16:03 +02:00
Matthias 5ab4fdeb84 skip tests if no themes are present 2022-05-19 00:14:20 +02:00
Matthias 3fd5761089 Merge branch 'master' of https://github.com/inventree/InvenTree into devOps 2022-05-18 23:39:58 +02:00
Matthias c0ef12f270 only use the user if authenticated 2022-05-18 23:33:04 +02:00
Matthias 51cd038f04 jump over if static dir does not exsist 2022-05-18 23:31:44 +02:00
Matthias 16dad60ea5 collect static right before starting 2022-05-18 23:31:18 +02:00
Matthias 6a8a5c6bc1 Merge branch 'not-working-tests' of https://github.com/matmair/InvenTree into not-working-tests 2022-05-18 23:23:44 +02:00
Matthias 444c8b871e create labels on startup 2022-05-18 23:23:34 +02:00
Matthias Mair 21750c92d3 remove branch from test 2022-05-18 02:33:09 +02:00
Matthias Mair 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 Mair 67733fa37b Merge branch 'inventree:master' into not-working-tests 2022-05-18 01:54:00 +02:00
Matthias Mair 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 041128ff9c pep fix 2022-05-17 01:07:36 +02:00
Matthias 7a2b17e939 do not try to access anon users settings 2022-05-17 01:03:04 +02:00
Matthias 94a19727da fix assertation 2022-05-17 01:02:29 +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 65d0d7906c add gettext 2022-05-16 19:10:48 +02:00
Matthias Mair 8340daf77b Merge branch 'master' of https://github.com/inventree/InvenTree into not-working-tests 2022-05-16 19:01:40 +02:00
Matthias Mair fc8a63325e that was a stupid misstake 2022-05-16 18:57:27 +02:00
Matthias Mair 5f2c21aa62 run full install 2022-05-16 18:50:16 +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