there are many ways to be broken ...
This commit is contained in:
parent
fa8f1bbd6f
commit
290e91ff79
|
|
@ -0,0 +1,11 @@
|
|||
"""sample of a broken python file that will be ignored on import"""
|
||||
from plugin import IntegrationPluginBase
|
||||
|
||||
|
||||
class BrokenIntegrationPlugin(IntegrationPluginBase):
|
||||
"""
|
||||
An very broken integration plugin
|
||||
"""
|
||||
|
||||
|
||||
aaa = bb # noqa: F821
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
"""sample of a broken python file that will be ignroed on import"""
|
||||
"""sample of a broken integration plugin"""
|
||||
from plugin import IntegrationPluginBase
|
||||
|
||||
|
||||
|
|
@ -6,6 +6,10 @@ class BrokenIntegrationPlugin(IntegrationPluginBase):
|
|||
"""
|
||||
An very broken integration plugin
|
||||
"""
|
||||
PLUGIN_TITLE = 'Broken Plugin'
|
||||
PLUGIN_SLUG = 'broken'
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
aaa = bb # noqa: F821
|
||||
raise KeyError('This is a dummy error')
|
||||
|
|
|
|||
Loading…
Reference in New Issue