we are not covering packages right now

This commit is contained in:
Matthias 2022-05-03 23:19:01 +02:00
parent 5e277130fa
commit cf0cbff69a
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -191,7 +191,7 @@ class IntegrationPluginBase(MixinBase, plugin_base.InvenTreePluginBase):
Path to the plugin
"""
if self._is_package:
return self.__module__
return self.__module__ # pragma: no cover
return pathlib.Path(self.def_path).relative_to(settings.BASE_DIR)
@property