2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

optimise coverage

This commit is contained in:
Matthias
2022-02-28 00:35:36 +01:00
parent f80f960923
commit ba263187a5

View File

@ -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')