[ldap_locks] Mise en place des locks. Cf commentaires pour les détails.
* Malheureusement lc_ldap._create_entity et objet.create sont un peu sales, mais j'ai pas trouvé mieux. * L'historique contient désormais les secondes.
This commit is contained in:
parent
17efae121c
commit
d6efff30de
7 changed files with 123 additions and 58 deletions
3
test.py
3
test.py
|
@ -53,7 +53,7 @@ borne_ldif = {
|
|||
'macAddress' : [randomMAC()],
|
||||
'host' : ["autotest-%s.crans.org" % randomStr() ],
|
||||
'canal' : ["11"],
|
||||
'puissance' : ["52 khz"],
|
||||
'puissance' : [u"52"],
|
||||
}
|
||||
|
||||
club_ldif = {
|
||||
|
@ -97,7 +97,6 @@ def test_list_of_dict(keys, list):
|
|||
anim("\tTest de l'attribut %s" % key)
|
||||
ok = True
|
||||
for item in list:
|
||||
if key == "chbre":
|
||||
print item['aid'][0]
|
||||
try: item.get(key, [])
|
||||
except psycopg2.OperationalError as error:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue