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