Commit Graph
100 Commits
Author SHA1 Message Date
Matthias 080ee2ea50 remove dead code 2022-03-13 20:58:40 +01:00
Matthias b1a3445338 ignore coverage for points that only gets reached by deadly broken plugins 2022-03-13 20:57:25 +01:00
Matthias a3d0dcb5bb only applicable in mulithread enviroments 2022-03-13 20:56:36 +01:00
Matthias aee8ca1c78 do not cover safety functions for wrongly conf swarms 2022-03-13 20:56:16 +01:00
Matthias f2aeab09ec should never be reached 2022-03-13 20:55:25 +01:00
Matthias 08d2e74521 do not cover disabled / debugging plugins cases 2022-03-13 20:55:11 +01:00
Matthias e0e87efb8c do not cover old import 2022-03-13 20:53:49 +01:00
Matthias 312441c2f5 PEP fix 2022-03-13 20:46:44 +01:00
Matthias df74bdfacd ignore unkown errors for coverage 2022-03-13 20:45:40 +01:00
Matthias 1b9e980144 evals error out on gh action 2022-03-13 20:44:55 +01:00
Matthias a28b1e97cc worker will not run in debug mode 2022-03-13 20:44:25 +01:00
Matthias 5a2bfaaf19 refactor to keep namespace cleaner 2022-03-13 20:39:20 +01:00
Matthias 00637f4b6c test instance name 2022-03-13 20:38:02 +01:00
Matthias 44fb356a3b ignore parts that can not be reached on a dev version 2022-03-13 20:24:44 +01:00
Matthias 2286e203ca test get_settings helper 2022-03-13 20:23:18 +01:00
Matthias 2c22ce9f0d test plugin file helper 2022-03-13 20:18:00 +01:00
Matthias 646107fee0 omit helpers from coverage 2022-03-13 20:09:54 +01:00
Matthias 1c7f37e52a add test for cfg file helper 2022-03-13 20:06:43 +01:00
Matthias af95779ed0 superusers are not tested in CI 2022-03-13 19:49:58 +01:00
Matthias 1e4727d733 ignore precaution for plugin programmers srewing up in coverage 2022-03-13 19:48:49 +01:00
Matthias e68cc25294 ignore programming error in coverage 2022-03-13 19:48:04 +01:00
Matthias 4c36737b9f add empty data 2022-03-13 19:46:42 +01:00
Matthias fa865de073 add omittion 2022-03-13 19:44:51 +01:00
Matthias 59a1d12534 PEP fix 2022-03-13 19:44:43 +01:00
Matthias beb170c02d ignore wrong lookup values for coverage 2022-03-13 19:42:06 +01:00
Matthias bd2b279390 add coverage to barcode api 2022-03-13 19:38:57 +01:00
Matthias 925ae73eaa fix docstring 2022-03-13 19:16:03 +01:00
Matthias a68ee5ce0b fix API assertations 2022-03-12 03:52:50 +01:00
Matthias 4eaa655a7c ignore for coverage 2022-03-12 03:43:04 +01:00
Matthias 56ebb0fd0e ignore custom admin form 2022-03-12 03:40:50 +01:00
Matthias d8fc56cf61 ignore m2m for coverage 2022-03-12 03:40:27 +01:00
Matthias b88a6ccdb5 test default value with as_int and fix it 2022-03-12 03:35:20 +01:00
Matthias 76fd529374 add test for as_bool 2022-03-12 03:20:14 +01:00
Matthias e8ec0dc46b add test for as_choice 2022-03-12 03:19:00 +01:00
Matthias d8c20894ce add uid to stockitem 2022-03-12 03:10:24 +01:00
Matthias a4737a1a2f barcode / InvenTreePugin test errors 2022-03-12 03:09:37 +01:00
Matthias 3a2b52ae53 barcode add error coverage 2022-03-12 02:18:21 +01:00
Matthias 92279b2f8f remove theme test 2022-03-12 01:50:05 +01:00
Matthias 1e164fea5b Add API test 2022-03-12 01:45:34 +01:00
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