pwtools.base.FlexibleGetters.assert_attr

FlexibleGetters.assert_attr(attr)[source]

Raise AssertionError if self.<attr> is not set (is_set_attr() returns False.