예제 #1
0
    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
예제 #2
0
    def __call__(self, cls):

        Builder.build_suite_definitions(
            decorated_function=cls,
            decorator_kwargs=self.decorator_kwargs,
            decorator_type=DecoratorType.TEST_SUITE)
        return cls