20 lines
399 B
Python
20 lines
399 B
Python
"""
|
|
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
|
|
|
|
def before(self, file_path, destination_folder):
|
|
self.before_ran = True
|
|
|