Commit Graph
100 Commits
Author SHA1 Message Date
Matthias ba263187a5 optimise coverage 2022-02-28 00:35:36 +01:00
Matthias f80f960923 translate error message 2022-02-28 00:34:28 +01:00
Matthias f3f010c4be write error if too old git 2022-02-28 00:34:02 +01:00
Matthias ca8df60d00 PEP fixes 2022-02-28 00:28:03 +01:00
Matthias 084f9d5444 make more readable 2022-02-28 00:23:55 +01:00
Matthias 1591597ef9 check if modern git is used 2022-02-28 00:23:46 +01:00
Matthias 8550915528 opimise coverage 2022-02-28 00:23:25 +01:00
Matthias bae290d605 check git version and safe for runtime 2022-02-28 00:17:21 +01:00
Matthias 7be832cc9b [BUG] Unable to create build output
Fix if no allocate set
Fixes #2663
2022-02-23 02:01:46 +01:00
Matthias b974b5fc30 use f-string annotation 2022-02-20 21:47:39 +01:00
Matthias 0baffcaee5 fix string concat 2022-02-20 21:12:20 +01:00
Matthias 08a5779c35 fix caps 2022-02-20 19:25:03 +01:00
Matthias ebd54045ec PEP fix 2022-02-20 04:40:18 +01:00
Matthias e9b501f7eb remove unneeded continue 2022-02-20 04:29:46 +01:00
Matthias d5bcd256f6 merge statments 2022-02-20 04:26:52 +01:00
Matthias 306725ef92 merge satement 2022-02-20 04:25:17 +01:00
Matthias 1ff6988ffd remove unneeded assignment 2022-02-20 04:24:13 +01:00
Matthias 68d182d67b remove unused code 2022-02-20 04:23:19 +01:00
Matthias 238cc9e278 disable broken test 2022-02-14 00:42:47 +01:00
Matthias 8df5a3f980 add more user api tests 2022-02-14 00:21:15 +01:00
Matthias 6848787885 remove dead code -> permission class does that already 2022-02-14 00:21:01 +01:00
Matthias a4d94f31c8 add test for non existing token 2022-02-14 00:14:11 +01:00
Matthias beb3bb38d4 spellcheck 2022-02-13 23:59:37 +01:00
Matthias 955f389d66 PEP fixes 2022-02-13 23:59:23 +01:00
Matthias 2335a8c316 add more plugin coverage 2022-02-13 23:58:49 +01:00
Matthias f765f0f083 should not be reached 2022-02-13 23:52:50 +01:00
Matthias 43a05dfcb4 return cov from feature only used for debug 2022-02-13 23:50:18 +01:00
Matthias 25bcf2c438 make git log call simpler 2022-02-13 23:49:59 +01:00
Matthias 32614e55b5 remove dead code 2022-02-13 23:49:43 +01:00
Matthias c5e9e933f0 remove cov from not used feature 2022-02-13 23:49:26 +01:00
Matthias 241101cee6 remove coverage that is not reachable 2022-02-13 23:48:48 +01:00
Matthias 9246eea38e PEP fix 2022-02-13 23:42:05 +01:00
Matthias 384d458110 user api tests 2022-02-13 23:39:10 +01:00
Matthias e262599d83 ignore unreachable things 2022-02-13 23:32:55 +01:00
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