[test] Soyons fin sur --fast, cf a620f5b5e9
This commit is contained in:
parent
22f8d63c0e
commit
8f4a7df242
1 changed files with 25 additions and 23 deletions
6
test.py
6
test.py
|
@ -141,9 +141,11 @@ print u"Tests effectués avec les droits %s " % ', '.join(conn.droits)
|
|||
# les adhérents et de toutes les machines #
|
||||
###############################################
|
||||
|
||||
if not fast_test:
|
||||
anim("Appel de allMachinesAdherents en rw")
|
||||
anim("Appel de allMachinesAdherents en %s" % ('ro' if fast_test else 'rw'))
|
||||
try:
|
||||
if fast_test:
|
||||
machines, adherents = conn.allMachinesAdherents()
|
||||
else:
|
||||
machines, adherents = conn.allMachinesAdherents(mode='rw')
|
||||
except EnvironmentError as error:
|
||||
print ERREUR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue