If a test case class has functions decorated with a ddt decorator, but is not itself decorated with @ddt.ddt, then tests don't run properly. This adds an AST checker to ensure that a class that contains functions decorated with a ddt decorator is properly decorated. It also includes unit tests for the checker itself. Change-Id: If7186d1f8b9a1967e7af55d86cd568e323aeccf7
1.4 KiB
1.4 KiB