Changeset 2730 for pykota/trunk/tests

Show
Ignore:
Timestamp:
02/21/06 14:34:04 (18 years ago)
Author:
jerome
Message:

Fixed incorrect test

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/tests/filldb.py

    r2729 r2730  
    135135            users = createUsers(nbusers) 
    136136             
    137         if users and printers :     
     137        if nbusers and nbprinters :     
    138138            createUserPQuotas(users, printers) 
    139139            deleteUserPQuotas(users, printers) 
    140140             
    141         if bcodes :     
     141        if nbbillingcodes :     
    142142            deleteBillingCodes(bcodes) 
    143         if users :     
     143        if nbusers :     
    144144            deleteUsers(users)           # NB : either this one or the one below 
    145         if printers :     
     145        if nbprinters :     
    146146            deletePrinters(printers)     # also delete user print quota entries. 
    147147        os.remove("arguments.list")