Completed
Pull Request — master (#1189)
by Lasse
07:35
created

coalib.tests.processes.section_executor_test_files.ProcessingGlobalTestBear   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 6
Duplicated Lines 0 %
Metric Value
dl 0
loc 6
rs 10
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 5 2
1
from coalib.bears.GlobalBear import GlobalBear
2
from coalib.results.Result import Result
3
4
5
class ProcessingGlobalTestBear(GlobalBear):  # pragma: no cover
6
    def run(self):
7
        for filename in self.file_dict:
8
            return [Result.from_values("GlobalTestBear",
9
                                       "test message",
10
                                       filename)]
11