Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """ |
||
2 | Dummy plugin object used for tests. |
||
3 | |||
4 | .. moduleauthor:: Jaisen Mathai <[email protected]> |
||
5 | """ |
||
6 | from __future__ import print_function |
||
7 | from builtins import object |
||
8 | |||
9 | |||
10 | class Dummy(object): |
||
11 | """A dummy class to execute plugin actions for tests.""" |
||
12 | def __init__(self): |
||
13 | self.before_ran = False |
||
14 | |||
15 | def before(self, file_path, destination_path, media): |
||
16 | self.before_ran = True |
||
17 | |||
18 |