Commit Graph
100 Commits
Author SHA1 Message Date
Matthias 2ae5fcf6a8 PEP fix 2022-05-15 00:46:56 +02:00
Matthias 40fa86152e Add test for wrong token 2022-05-15 00:44:26 +02:00
Matthias a1a1f4debe PEP fix 2022-05-15 00:18:31 +02:00
Matthias f8d3aedb1d Remove static label tests
Fixes #2989
2022-05-15 00:14:54 +02:00
Matthias 2483b746cf remove static test 2022-05-15 00:08:46 +02:00
Matthias f3bf126415 maybe this ressource can be found in the cloud 2022-05-14 00:11:18 +02:00
Matthias MairandGitHub bf2b9d2beb Update test_middleware.py 2022-05-13 19:37:09 +02:00
Matthias 53712c2d6c PEP fix 2022-05-13 01:29:32 +02:00
Matthias 3712daca55 remove duplicate code
we are already checking this stuff from line 640
2022-05-13 01:27:40 +02:00
Matthias 80a2dad34e remove dead code 2022-05-13 01:23:25 +02:00
Matthias 6b550e0547 Tests for token Auth 2022-05-13 01:23:12 +02:00
Matthias a7a80da928 Add unittests for auth stack
Fixes #2980
2022-05-13 01:22:51 +02:00
Matthias 3c9e4e7eab make imports easier 2022-05-11 12:17:46 +02:00
Matthias f0d2730ae6 rename file to fit structure 2022-05-11 12:16:06 +02:00
Matthias 462713ca61 pep fix 2022-05-11 04:22:42 +02:00
Matthias b7087b83b5 Merge branch 'master' of https://github.com/inventree/InvenTree into add-report-check 2022-05-11 04:19:18 +02:00
Matthias fa8a726399 activate barcode tests 2022-05-11 04:08:26 +02:00
Matthias 9a69f125a9 move barcodes to plugin 2022-05-11 04:08:13 +02:00
Matthias 352e718e68 remove digikey barcode plugin 2022-05-11 04:03:30 +02:00
Matthias f620491517 add test for rendering label 2022-05-11 03:15:20 +02:00
Matthias a65d747501 add additional template 2022-05-11 03:05:40 +02:00
Matthias 67966eba13 Add code128 template 2022-05-10 23:56:02 +02:00
Matthias 688cb7469c fix usage of old html tags 2022-05-09 19:58:38 +02:00
Matthias 09ceada639 fix test assertation 2022-05-06 03:03:08 +02:00
Matthias 0d0b713f6e Fix tests 2022-05-06 02:26:58 +02:00
Matthias 2261e7a615 PEP fix 2022-05-06 02:20:38 +02:00
Matthias 33e3385830 fix assertations 2022-05-06 02:17:53 +02:00
Matthias 20d552f809 extend tag tests 2022-05-06 02:13:25 +02:00
Matthias 0eff4a4526 can not be covered in testing 2022-05-06 02:07:59 +02:00
Matthias baf7e4505e do not cover pacakge code - is not CI'd 2022-05-06 01:52:32 +02:00
Matthias 9a9a7e0ff4 also cover list API 2022-05-06 01:31:23 +02:00
Matthias a2331829c9 this can not happen with normal operation 2022-05-06 01:31:11 +02:00
Matthias d5c95f2225 only safety test - api is not callable as non-user 2022-05-06 01:29:16 +02:00
Matthias 8f220837d0 only log messages about notification methods 2022-05-06 01:25:22 +02:00
Matthias 2b1d4ba9c1 add test for plugin settings 2022-05-06 01:15:12 +02:00
Matthias 7f8d20da0f test _str 2022-05-06 01:12:22 +02:00
Matthias 1a70829f5c do not cover dev error catcher 2022-05-06 01:12:11 +02:00
Matthias a77382d0b5 sadd test for notification user settings 2022-05-06 01:04:00 +02:00
Matthias 50b17d6ae8 add mixin test 2022-05-06 01:03:11 +02:00
Matthias ccefaade92 Add args back in to serializer 2022-05-06 00:48:20 +02:00
Matthias 1676cb8eb8 fix error with anon connections and language check 2022-05-06 00:13:58 +02:00
Matthias 28b8e27698 Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385 2022-05-06 00:11:38 +02:00
Matthias fe4b264ae1 Fix user check 2022-05-06 00:11:26 +02:00
Matthias MairandGitHub a1016c746c Merge branch 'inventree:master' into so_fix_clean 2022-05-05 11:27:44 +02:00
Matthias MairandGitHub 6bd997ffad Merge branch 'inventree:master' into matmair/issue2385 2022-05-05 11:26:25 +02:00
Matthias 164a8acf33 make genericref simpler 2022-05-05 01:31:19 +02:00
Matthias 17127e914d PEP fix 2022-05-04 17:44:27 +02:00
Matthias 05d1f9703e Add nice repr for NotificationUserSetting 2022-05-04 17:42:45 +02:00
Matthias a27f8a427a Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385 2022-05-04 17:40:47 +02:00
Matthias cf986e557c make unloading safer 2022-05-04 17:40:44 +02:00
Matthias b16305afef add html for notification setting 2022-05-04 17:40:04 +02:00
Matthias 0ff407348d Add admin for NotificationUserSetting 2022-05-04 17:39:37 +02:00
Matthias 34855bbb37 add API endpoint for notifications 2022-05-04 17:38:50 +02:00
Matthias c684e7d5e0 Add generic serializer 2022-05-04 16:57:39 +02:00
Matthias df9ca599a2 use full names consistently 2022-05-04 15:18:36 +02:00
Matthias MairandGitHub a6bede877a Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 15:11:56 +02:00
Matthias 055b9c9a46 remove duplicate endif 2022-05-04 13:57:35 +02:00
Matthias 19d3b03280 fix double endif 2022-05-04 13:10:49 +02:00
Matthias 5435cd28c9 redirect to index if company was deleted 2022-05-04 12:39:56 +02:00
Matthias 00dffd953b add messages if company was deleted 2022-05-04 12:39:12 +02:00
Matthias 1a3d482e42 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2788 2022-05-04 12:33:21 +02:00
Matthias MairandGitHub cf93ba7cf9 Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 12:23:05 +02:00
Matthias 8038cff874 ignore for coverage 2022-05-04 00:43:49 +02:00
Matthias 6504ef535a fix test - len needs to be recalculated 2022-05-03 23:23:36 +02:00
Matthias e1b395c9be test is_active 2022-05-03 23:19:51 +02:00
Matthias cf0cbff69a we are not covering packages right now 2022-05-03 23:19:01 +02:00
Matthias 5e277130fa do not cover not implemented Mixin 2022-05-03 23:07:16 +02:00
Matthias c5acfaf541 do not coverage catch for load 2022-05-03 23:06:57 +02:00
Matthias e95c3e0948 do not cover default returns 2022-05-03 23:06:38 +02:00
Matthias 1522d330fa add test for is_sample 2022-05-03 23:06:11 +02:00
Matthias 096c0c876c PEP fix 2022-05-03 22:58:24 +02:00
Matthias d49f74746a test that MixinImplementationErrors raise 2022-05-03 22:56:28 +02:00
Matthias 204b4fd527 rename test 2022-05-03 22:55:39 +02:00
Matthias 626e3838ae also cover errors 2022-05-03 22:15:24 +02:00
Matthias a357c4ef88 also cover unregistering 2022-05-03 22:13:29 +02:00
Matthias 08e278232b ignore db not ready in coverage 2022-05-03 22:12:34 +02:00
Matthias b9cbc287f2 empty mixin schaffold - no tests 2022-05-03 22:10:26 +02:00
Matthias 0a012c3c58 only possible in test cases with plugin_tests off 2022-05-03 22:09:58 +02:00
Matthias 4663815cfa this is just an extra safety check - should not trigger 2022-05-03 22:09:20 +02:00
Matthias 4e5015e742 do not cover unready db 2022-05-03 22:08:57 +02:00
Matthias 58a5eac66a ignore outside sample code in coverage 2022-05-03 22:06:10 +02:00
Matthias 07a86a3883 ognore catches in coverage 2022-05-03 22:05:56 +02:00
Matthias 7c437a3cf2 adjust testing function to also check return 2022-05-03 21:59:17 +02:00
Matthias 70b108d813 add check for call function 2022-05-03 21:56:58 +02:00
Matthias 5ea6a325ee fix smaple code 2022-05-03 21:48:49 +02:00
Matthias 5fa7b45d1d Add tests for scheduling
Closes #2523
2022-05-03 21:39:45 +02:00
Matthias 300558adb0 increase coverage on owners model 2022-05-03 20:26:49 +02:00
Matthias 05d2d3664c ignore defaults for coverage 2022-05-03 20:13:07 +02:00
Matthias 0900fe82dc ignore coverage on reverse conversion 2022-05-03 20:11:41 +02:00
Matthias e10ee91109 make names clearer 2022-05-03 01:19:08 +02:00
Matthias 1c0c3f9a72 Add tags 2022-05-03 01:16:44 +02:00
Matthias f8a2811d90 change hierarchy 2022-05-03 00:55:29 +02:00
Matthias 87515b1b48 fix __str__ instance 2022-05-02 22:46:03 +02:00
Matthias e7b189ba29 fix templates 2022-05-02 22:41:24 +02:00
Matthias 8f3899ffe6 move migrations 2022-05-02 22:10:50 +02:00
Matthias MairandGitHub 0c338cb2ae Merge branch 'inventree:master' into matmair/issue2788 2022-05-02 21:50:57 +02:00
Matthias MairandGitHub 4125803e6d Merge branch 'inventree:master' into matmair/issue2385 2022-05-02 21:50:52 +02:00
Matthias 33a7d98dff remove screenshot
it is difficult to find the single thing that descirbes InvenTree
2022-05-02 21:12:11 +02:00
Matthias 9022bd3270 Add new readme 2022-05-02 01:46:06 +02:00
Matthias Mair e418a54c25 PEP fix 2022-05-01 21:48:45 +00:00