def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def wrapper%(signature)s:
    with ldap3mock:
        return func%(funcargs)s