mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
optimise coverage
This commit is contained in:
parent
f80f960923
commit
ba263187a5
@ -39,5 +39,5 @@ class PluginAppConfig(AppConfig):
|
||||
|
||||
# check git version
|
||||
registry.git_is_modern = check_git_version()
|
||||
if not registry.git_is_modern:
|
||||
if not registry.git_is_modern: # pragma: no cover # simulating old git seems not worth it for coverage
|
||||
log_error(_('Your enviroment has an outdated git version. This prevents InvenTree from loading plugin details.'), 'load')
|
||||
|
Loading…
x
Reference in New Issue
Block a user