Decorators Usage Guide¶
The decorators module¶
-
attr
(**kwargs)[source]¶ A decorator which applies the testtools attr decorator
This decorator applies the testtools.testcase.attr if it is in the list of attributes to testtools we want to apply.
A decorator useful to know solutions from launchpad bug reports
@param bug: The launchpad bug number causing the test @param status_code: The status code related to the bug report