mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove coverage where it does not make sense
This commit is contained in:
parent
38cb557baf
commit
43179bbfd5
@ -144,7 +144,8 @@ class PluginSettingDetail(generics.RetrieveUpdateAPIView):
|
||||
plugin = registry.get_plugin(plugin_slug)
|
||||
|
||||
if plugin is None:
|
||||
raise NotFound(detail=f"Plugin '{plugin_slug}' not found")
|
||||
# This only occurs if the plugin mechanism broke
|
||||
raise NotFound(detail=f"Plugin '{plugin_slug}' not found") # pragma: no cover
|
||||
|
||||
settings = getattr(plugin, 'SETTINGS', {})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user