optimise coverage

This commit is contained in:
Matthias 2022-02-28 00:35:36 +01:00
parent f80f960923
commit ba263187a5
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

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