def __init__(self, test, dn, missing, classes): e1 = 'Object %s at DN %s (module %s)' \ % (test.name, dn, test.modname) e2 = ' is missing objectClass "univentionShare%s".' % missing e3 = ' Present objectClasses: "%s"' % classes error = e1 + e2 + e3 TestError.__init__(self, error, test)
def __init__(self, test, dn, present, classes): e1 = 'Object %s at DN %s (module %s)' \ % (test.name, dn, test.modname) e2 = ' is erroneously has objectClass "univentionShare%s".' \ % present e3 = ' Present objectClasses: "%s"' % classes error = e1 + e2 + e3 TestError.__init__(self, error, test)
def __init__(self, test, type): e1 = "User %s at DN %s (module %s)" % (test.name, test.dn, test.modname) e2 = ": %s account not disabled" % type.upper() error = e1 + e2 TestError.__init__(self, error, test)
def __init__(self, test, group): e1 = "User %s at DN %s (module %s)" % (test.name, test.dn, test.modname) e2 = " not registered as a member of group %s" % group error = e1 + e2 TestError.__init__(self, error, test)
def __init__(self, test, dn, type): e1 = 'Object %s at DN %s (module %s)' \ % (test.name, dn, test.modname) e2 = ' not registered as a default %s container' % type error = e1 + e2 TestError.__init__(self, error, test)
def __init__(self, test, type): e1 = 'User %s at DN %s (module %s)' \ % (test.name, test.dn, test.modname) e2 = ': %s account not disabled' % type.upper() error = e1 + e2 TestError.__init__(self, error, test)
def __init__(self, test, group): e1 = 'User %s at DN %s (module %s)' \ % (test.name, test.dn, test.modname) e2 = ' not registered as a member of group %s' % group error = e1 + e2 TestError.__init__(self, error, test)