Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """ |
||
2 | RuntimeError 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 | from elodie.plugins.plugins import PluginBase |
||
10 | |||
11 | class RuntimeError(PluginBase): |
||
12 | |||
13 | __name__ = 'ThrowError' |
||
14 | |||
15 | """A dummy class to execute plugin actions for tests.""" |
||
16 | def __init__(self): |
||
17 | pass |
||
18 | |||
19 | def before(self, file_path, destination_path, media): |
||
20 | print(does_not_exist) |
||
|
|||
21 | |||
22 |