2019-07-04 11:57:10 +02:00
|
|
|
"""
|
|
|
|
RuntimeError plugin object used for tests.
|
|
|
|
|
|
|
|
.. moduleauthor:: Jaisen Mathai <jaisen@jmathai.com>
|
|
|
|
"""
|
|
|
|
|
|
|
|
from elodie.plugins.plugins import PluginBase
|
|
|
|
|
|
|
|
class RuntimeError(PluginBase):
|
|
|
|
|
|
|
|
__name__ = 'ThrowError'
|
|
|
|
|
|
|
|
"""A dummy class to execute plugin actions for tests."""
|
|
|
|
def __init__(self):
|
|
|
|
pass
|
|
|
|
|
2019-07-12 09:40:38 +02:00
|
|
|
def after(self, file_path, destination_folder, final_file_path, metadata):
|
2019-07-04 11:57:10 +02:00
|
|
|
print(does_not_exist)
|
|
|
|
|
2019-07-12 09:40:38 +02:00
|
|
|
def batch(self):
|
|
|
|
print(does_not_exist)
|
|
|
|
|
|
|
|
def before(self, file_path, destination_folder):
|
|
|
|
print(does_not_exist)
|