2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00
2022-05-11 16:50:36 +02:00

17 lines
326 B
Python

"""sample of a broken plugin"""
from plugin import InvenTreePlugin
class BrokenIntegrationPlugin(InvenTreePlugin):
"""
An very broken plugin
"""
NAME = 'Test'
TITLE = 'Broken Plugin'
SLUG = 'broken'
def __init__(self):
super().__init__()
raise KeyError('This is a dummy error')