def __call__(self, decorated_function): Builder.build_suite_definitions( decorated_function=decorated_function, decorator_kwargs=self.decorator_kwargs, decorator_type=DecoratorType.AFTER_CLASS) return decorated_function
def __call__(self, cls): Builder.build_suite_definitions( decorated_function=cls, decorator_kwargs=self.decorator_kwargs, decorator_type=DecoratorType.TEST_SUITE) return cls