Passed
Push — master ( 9e03c4...3276cc )
by Jaisen
02:00
created

RuntimeError.__init__()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
"""
2
RuntimeError plugin object used for tests.
3
4
.. moduleauthor:: Jaisen Mathai <[email protected]>
5
"""
6
from __future__ import print_function
7
8
from elodie.plugins.plugins import PluginBase
9
10
class RuntimeError(PluginBase):
11
12
    __name__ = 'ThrowError'
13
14
    """A dummy class to execute plugin actions for tests."""
15
    def __init__(self):
16
        pass
17
18
    def after(self, file_path, destination_folder, final_file_path, metadata):
19
        print(does_not_exist)
0 ignored issues
show
Comprehensibility Best Practice introduced by Jaisen Mathai
The variable does_not_exist does not seem to be defined.
Loading history...
20
21
    def batch(self):
22
        print(does_not_exist)
0 ignored issues
show
Comprehensibility Best Practice introduced by Jaisen Mathai
The variable does_not_exist does not seem to be defined.
Loading history...
23
24
    def before(self, file_path, destination_folder):
25
        print(does_not_exist)
0 ignored issues
show
Comprehensibility Best Practice introduced by Jaisen Mathai
The variable does_not_exist does not seem to be defined.
Loading history...
26