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.
Parameters: | condition – Optional condition which if true will apply the attr. If a condition is specified which is false the attr will not be applied to the test function. If not specified, the attr is always applied. |
---|
A decorator useful to know solutions from launchpad/storyboard reports
Parameters: |
|
---|
skip_because
(*args, **kwargs)[source]¶A decorator useful to skip tests hitting known bugs
bug
must be a number and condition
must be true for the test to
skip.
Parameters: |
|
---|---|
Raises: | testtools.TestCase.skipException if |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.