2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 19:20:55 +00:00

app not ready can not be simulated by tests

This commit is contained in:
Matthias
2022-02-13 17:34:05 +01:00
parent 2838817e32
commit fe65f92df0
4 changed files with 8 additions and 8 deletions

View File

@ -153,7 +153,7 @@ def get_modules(pkg):
if not k.startswith('_') and (pkg_names is None or k in pkg_names):
context[k] = v
context[name] = module
except AppRegistryNotReady:
except AppRegistryNotReady: # pragma: no cover
pass
except Exception as error:
# this 'protects' against malformed plugin modules by more or less silently failing