Commit Graph
100 Commits
Author SHA1 Message Date
Matthias ffafc20c6d do not count unreachable code 2022-02-13 23:30:27 +01:00
Matthias c6464bcf77 PEP fix 2022-02-13 22:42:17 +01:00
Matthias 8724702fef add coverage for labels 2022-02-13 22:39:29 +01:00
Matthias 58e8bab83b except import errors 2022-02-13 22:12:43 +01:00
Matthias f88d39db66 fix coverage 2022-02-13 22:07:30 +01:00
Matthias 40ea93e00a catch more explicit 2022-02-13 22:06:53 +01:00
Matthias 8f06f5099c fix reporting emition 2022-02-13 21:52:32 +01:00
Matthias 73500a4b82 omit coverage via setup.cfg 2022-02-13 21:19:41 +01:00
Matthias a6621a5327 fix label tests 2022-02-13 21:15:40 +01:00
Matthias b49d46af58 update system health check 2022-02-13 20:38:05 +01:00
Matthias 27b0a012e0 ignore sanity checks for coverage 2022-02-13 20:33:54 +01:00
Matthias be196b2948 should not be reached - ignore in cov 2022-02-13 20:23:32 +01:00
Matthias 0eb6d46c4b remove dead code 2022-02-13 20:23:15 +01:00
Matthias b095917b96 ignore wsgi 2022-02-13 20:20:05 +01:00
Matthias 0e840bacdd ignore currently dead code in coverage 2022-02-13 20:16:44 +01:00
Matthias 7598b47642 ignore some default in coverage 2022-02-13 20:15:31 +01:00
Matthias 2bf3b90d38 ignore db optm in coverage 2022-02-13 20:15:03 +01:00
Matthias 5a40bdda51 do not cover secret key 2022-02-13 20:14:18 +01:00
Matthias 2bba1766b0 ignore testing coditions in coverage 2022-02-13 20:13:57 +01:00
Matthias 4567e9d941 ignore system exit conditions in coverage 2022-02-13 20:11:41 +01:00
Matthias 1fd336aa1b ignore whole file 2022-02-13 20:00:19 +01:00
Matthias af3f3c741d test Isimporting 2022-02-13 19:59:06 +01:00
Matthias d596ae1e7e test test mode 2022-02-13 19:58:29 +01:00
Matthias ce88deeb3b add test for system healt checks 2022-02-13 19:56:30 +01:00
Matthias 6bc53c1308 will never be true in testing 2022-02-13 19:55:50 +01:00
Matthias dbb4c3f407 Merge branch 'master' of https://github.com/inventree/InvenTree into coverage-fixes 2022-02-13 17:46:09 +01:00
Matthias 0ad3b5bcba ignore coverage in exsisting migrations 2022-02-13 17:45:46 +01:00
Matthias 898f99c931 ignore not testable condition 2022-02-13 17:42:50 +01:00
Matthias 67a4f75856 remove dead test 2022-02-13 17:41:27 +01:00
Matthias ad41957127 database not ready events are hard to reproduce consistently 2022-02-13 17:39:17 +01:00
Matthias 9d12a7172c use same style for AppNotReady Exception 2022-02-13 17:35:07 +01:00
Matthias fe65f92df0 app not ready can not be simulated by tests 2022-02-13 17:34:05 +01:00
Matthias 2838817e32 ignore debug toolbar 2022-02-13 17:31:34 +01:00
Matthias a763ac383c Merge branch 'coverage-fixes' of https://github.com/matmair/InvenTree into coverage-fixes 2022-02-13 17:30:38 +01:00
Matthias ed6bf7d4d0 add comment about function 2022-02-13 17:30:35 +01:00
Matthias 11e41048d0 ignore ci render_test 2022-02-13 17:29:46 +01:00
Matthias 54f6c5b34f fix setting coverage 2022-02-13 05:57:07 +01:00
Matthias ca7230f7a8 remove paralell coverage 2022-02-13 05:55:16 +01:00
Matthias 1f59373c70 test wrong setting defaults 2022-02-13 05:50:53 +01:00
Matthias 42b4466897 ignore controls that should not be reached in coverage 2022-02-13 05:50:19 +01:00
Matthias 7793a22a35 ignore wrong control view safeties 2022-02-13 05:48:10 +01:00
Matthias 440245c812 PEP fix 2022-02-13 05:37:28 +01:00
Matthias c0ab93b2a9 remove dead code 2022-02-13 05:35:06 +01:00
Matthias 491bb0b28f fix import 2022-02-13 05:34:06 +01:00
Matthias 2eda9967a4 only run sqlite paralell 2022-02-13 05:27:54 +01:00
Matthias 22bc0b3d90 ignore exception ref 2022-02-13 05:21:43 +01:00
Matthias e162eea9a4 no test for malformed paths 2022-02-13 05:17:41 +01:00
Matthias ca07c5f12c imports are not tested 2022-02-13 05:16:29 +01:00
Matthias 6437674ca8 ignore database not ready 2022-02-13 05:16:14 +01:00
Matthias 12a5b6b148 remove dead code 2022-02-13 05:11:47 +01:00
Matthias 021faf4c1f move up comment so unneeded functions are not not covered 2022-02-13 05:11:14 +01:00
Matthias c84be228f1 remove dead code 2022-02-13 05:08:37 +01:00
Matthias 127368d47f ignore coverage on ruleset checks 2022-02-13 05:04:51 +01:00
Matthias ef79990016 run test paralell 2022-02-13 04:59:10 +01:00
Matthias 673435fe90 simpler coverage ignore 2022-02-13 04:56:42 +01:00
Matthias e693fe1e41 fix migration coverage for build 2022-02-13 04:55:39 +01:00
Matthias fe767775bc fix migration coverage for company 2022-02-13 04:53:18 +01:00
Matthias a4c6d0e6c5 fix migration coverage for orders 2022-02-13 04:49:08 +01:00
Matthias 10170b5466 remove coverage from parts migrations 2022-02-13 04:46:36 +01:00
Matthias 3ed836f19d ignore branches 2022-02-13 04:43:18 +01:00
Matthias 5d277a888d ignore migration 2022-02-13 04:41:44 +01:00
Matthias 01b8bca501 ignore import error 2022-02-13 04:37:38 +01:00
Matthias 65f3c3fce4 ignore the django import check 2022-02-13 04:33:18 +01:00
Matthias bc17536e6d fix quotes 2022-02-13 03:49:52 +01:00
Matthias dcce516c31 Merge branch 'template-reduce-duplication' of https://github.com/matmair/InvenTree into template-reduce-duplication 2022-02-12 00:57:13 +01:00
Matthias aa3192a106 Merge branch 'master' of https://github.com/inventree/InvenTree into template-reduce-duplication 2022-02-12 00:55:39 +01:00
Matthias ae667df14a add migration 2022-01-28 23:58:12 +01:00
Matthias 1704a50d92 Merge branch 'style-fix' of https://github.com/matmair/InvenTree into style-fix 2022-01-24 23:46:39 +01:00
Matthias 6bfb17f2ab pep fix 2022-01-24 23:38:12 +01:00
Matthias 3ab93dcdd5 only one exception type needed 2022-01-21 02:17:30 +01:00
Matthias 02058389b2 remove unneeded pass 2022-01-21 02:13:41 +01:00
Matthias b3d031c473 make expression simpler 2022-01-21 02:12:40 +01:00
Matthias f04de517d1 fix tags 2022-01-21 02:11:34 +01:00
Matthias 2e0198e7cd refactor field matching 2022-01-21 01:20:32 +01:00
Matthias 3c02c918b2 reduce code in wizard templates 2022-01-21 01:12:11 +01:00
Matthias 116369bba1 fix indent 2022-01-21 00:31:03 +01:00
Matthias ff897ccc41 remove dead code 2022-01-21 00:30:51 +01:00
Matthias c44565f9e3 fix reused builtins 2022-01-21 00:17:52 +01:00
Matthias cbd84a23f9 fix default empy dict 2022-01-21 00:11:26 +01:00
Matthias b2eb4e131a remove empty test 2022-01-21 00:08:36 +01:00
Matthias a96ceba0be use constant for content type 2022-01-20 23:58:36 +01:00
Matthias 16239289c0 remove dead code 2022-01-20 23:56:39 +01:00
Matthias 967efae8f1 make simpler 2022-01-20 23:55:48 +01:00
Matthias 21125eb892 add docstring 2022-01-20 23:55:07 +01:00
Matthias 3d2113d98b make simpler 2022-01-20 23:53:50 +01:00
Matthias 9da234002b add comment 2022-01-20 23:51:53 +01:00
Matthias f8c4470d98 make simpler 2022-01-20 23:51:42 +01:00
Matthias db66546606 rename to not shadow builtin 2022-01-20 23:49:21 +01:00
Matthias ef22b9fc1b remove unneeded assingments 2022-01-20 23:47:59 +01:00
Matthias 8690326a8f PEP fix 2022-01-12 01:04:25 +01:00
Matthias 678b89e093 consolidate helpers 2022-01-12 00:59:09 +01:00
Matthias 3dab1ab736 remove unneeded branches 2022-01-12 00:56:18 +01:00
Matthias 4f74ae3fce readd import 2022-01-12 00:22:06 +01:00
Matthias 62236474e2 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-12 00:12:32 +01:00
Matthias 164ee5fa5c fix reference 2022-01-12 00:08:58 +01:00
Matthias db197a98b6 PEP fix 2022-01-11 01:51:19 +01:00
Matthias cd9e9a367b PEP fix 2022-01-11 01:49:42 +01:00
Matthias a31ff85c89 rename to make clearer 2022-01-11 01:45:20 +01:00
Matthias 7c51d0e399 PEP fix 2022-01-11 01:44:55 +01:00
Matthias 208bcb7707 and remove actions again 2022-01-11 01:41:56 +01:00