Decorators Usage Guide

The decorators module

idempotent_id(id)[source]

Stub for metadata decorator

skip_because(*args, **kwargs)[source]

A decorator useful to skip tests hitting known bugs

@param bug: bug number causing the test to skip @param condition: optional condition to be True for the skip to have place

class skip_unless_attr(attr, msg=None)[source]

Decorator to skip tests if a specified attr does not exists or False