Show
Ignore:
Timestamp:
02/02/06 14:36:58 (19 years ago)
Author:
jerome
Message:

Data retrieval now is correct.
Password input box now hides what is typed.
Looks good !

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/tests/test.py

    r104 r106  
    5050 
    5151    server = xmlrpclib.ServerProxy("http://%s:%s" % (arguments[0], arguments[1])) 
    52     result = server.showDialog(message, yesno) 
    53     """ 
     52    #result = server.showDialog(message, yesno) 
     53    #""" 
    5454    result = server.askDatas(["Username", "Password", "Billing code"], \ 
    5555                             ["username", "password", "billingcode"], \ 
    5656                             {"username": username, \ 
    57                               "password": "******", \ 
     57                              "password": "cccccc", \ 
    5858                              "billingcode" : billingcode}) 
    59     """                           
     59    #"""                           
    6060    #server.quitApplication() 
    61     print result # printing OK is safe. 
     61    if result["isValid"] : 
     62        print result # printing OK is safe. 
     63    else :     
     64        print "the end user closed the dialog box !" 
    6265         
    6366if __name__ == "__main__" :