Commit Graph

16882 Commits

Author SHA1 Message Date
Oliver c048f3fb4a Adds unit tests for index page
Some fairly simple unit tests to ensure that the index page is being correctly loaded.
2022-02-15 10:50:30 +11:00
Oliver 6dfe22790e
Merge pull request #2626 from SchrodingersGat/quantity-fix
Fix for BOM import
2022-02-15 09:37:06 +11:00
Oliver adfa289e9b Enforce proper formatting for 'quantity' field when importing BOM data 2022-02-15 09:11:14 +11: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