diff --git a/tests/unit/processor/base.py b/tests/unit/processor/base.py index 84cdd96ec..512d3e730 100644 --- a/tests/unit/processor/base.py +++ b/tests/unit/processor/base.py @@ -85,12 +85,12 @@ def setup_method(self) -> None: """ setUp class for the imported TestCase """ - super().setup_method() self.patchers = [] for name, kwargs in self.mocks.items(): patcher = mock.patch(name, **kwargs) patcher.start() self.patchers.append(patcher) + super().setup_method() config = {"Test Instance Name": self.CONFIG} self.object = Factory.create(configuration=config, logger=self.logger) self.specific_rules = self.set_rules(self.specific_rules_dirs)