Use ddt decorators as specified in doc.
Merge pull request #3662 from edx/diana/minor-ddt-fix

Fix ddt decorators