Commit Graph
100 Commits
Author SHA1 Message Date
Matthias d2e8b2cc2b run just empty task - auto_now is a hard to test 2022-03-12 01:38:08 +01:00
Matthias 91b4e7167d test that the task is running 2022-03-12 01:32:18 +01:00
Matthias 4a0f710fec PEP fix 2022-03-12 00:57:37 +01:00
Matthias 92398d7b39 ignore in coverage 2022-03-12 00:54:08 +01:00
Matthias 5587c04d0d test color theme 2022-03-12 00:53:39 +01:00
Matthias 00b76ace77 increase coverage of settings 2022-03-12 00:28:04 +01:00
Matthias e05ebce058 test allValues 2022-03-12 00:27:37 +01:00
Matthias e955b75041 test restart flag reset 2022-03-11 23:41:30 +01:00
Matthias 6a5dc33e20 ignore admin rendering fields for coverage 2022-03-11 23:32:36 +01:00
Matthias 4e832bb9ac make sure 'no date' elements do not fail 2022-03-07 00:01:30 +01:00
Matthias e11fa338b6 also test empty 2022-03-03 00:52:10 +01:00
Matthias a158ecf401 reset to previous 2022-03-02 23:41:41 +01:00
Matthias 771d82bdc2 style fix 2022-03-02 23:40:46 +01:00
Matthias 941efd08d1 change type of error 2022-03-02 23:36:53 +01:00
Matthias c893b81314 remove the wrong setting 2022-03-02 23:34:44 +01:00
Matthias 7d58db4336 full set again 2022-03-02 22:52:14 +01:00
Matthias d03af8f5b0 nothing test 2022-03-02 22:50:36 +01:00
Matthias 2c6731df0c add ENVs back in 2022-03-02 22:49:05 +01:00
Matthias 48583f470c remove testing code 2022-03-02 19:54:40 +01:00
Matthias d018654c9c fix settings override? 2022-03-02 00:17:00 +01:00
Matthias 12c4296261 add special env testing flag 2022-02-28 21:08:27 +01:00
Matthias 737d397705 PEP fix 2022-02-28 20:44:13 +01:00
Matthias 4e898d5eac fix test transactions 2022-02-28 20:42:20 +01:00
Matthias 3b1bfddd8b also expect IntegrationsPluginError 2022-02-28 20:33:36 +01:00
Matthias d6a42d64d8 make docs clearer 2022-02-28 20:33:10 +01:00
Matthias 23531e0a5d remove dead code 2022-02-28 20:29:45 +01:00
Matthias ad81439140 add testss for user creation 2022-02-28 20:29:04 +01:00
Matthias 7d9edaea8b add docstrings 2022-02-28 19:43:00 +01:00
Matthias 63977d47ce only test once 2022-02-28 19:41:23 +01:00
Matthias 9552482471 fix initial checks 2022-02-28 19:38:14 +01:00
Matthias ac2d54a150 catch uniqueness 2022-02-28 19:29:54 +01:00
Matthias 28012a3cea only add once 2022-02-28 19:19:10 +01:00
Matthias a426742567 [FR] Non-interactive, environment variable based set-up in Docker deployments
Fixes #2501
2022-02-28 19:08:52 +01:00
Matthias ed5c23fcea Add template defaults 2022-02-28 18:50:16 +01:00
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