def setup_teardown(function):
    """Setup/Teardown decorator.

    """
    def wrapper(*args, **kwargs):
        args[0]._setup()  # pylint: disable=protected-access
        result = function(*args, **kwargs)
        args[0]._teardown()  # pylint: disable=protected-access
        return result
    return wrapper