Files
rally-openstack/tests/unit/test_test_ddt.py
Chris St. Pierre d1b70e365b Add AST checker for missing @ddt.ddt decorators
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
2015-11-04 12:21:51 -06:00

1.4 KiB