[lc_ldap/test] fil-adherents -> /dev/null

This commit is contained in:
Pierre-Elliott Bécue 2013-05-16 03:01:11 +02:00
parent a6c5f66aee
commit 3663d877cc
2 changed files with 2 additions and 2 deletions

View file

@ -273,7 +273,7 @@ class lc_ldap(ldap.ldapobject.LDAPObject, object):
ldif['objectClass'] = ['machineWifi'] ldif['objectClass'] = ['machineWifi']
assert isinstance(owner, adherent) or isinstance(owner, club) assert isinstance(owner, adherent) or isinstance(owner, club)
elif realm in ["adherents", "fil-adherents", "fil-v6", "personnel-ens"]: elif realm in ["adherents", "fil-v6", "personnel-ens"]:
ldif['objectClass'] = ['machineFixe'] ldif['objectClass'] = ['machineFixe']
assert isinstance(owner, adherent) or isinstance(owner, club) assert isinstance(owner, adherent) or isinstance(owner, club)

View file

@ -171,7 +171,7 @@ except:
else: else:
print OK print OK
tests_machines(adherent.dn, ["adherents", "fil-adherents", "fil-v6", "personnel-ens"]) tests_machines(adherent.dn, ["adherents", "fil-v6", "personnel-ens"])
tests_machines(adherent.dn, ["wifi", "wifi-v6"], ipsec=True) tests_machines(adherent.dn, ["wifi", "wifi-v6"], ipsec=True)