Changeset 106 for pykoticon/trunk/tests/test.py
- Timestamp:
- 02/02/06 14:36:58 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykoticon/trunk/tests/test.py
r104 r106 50 50 51 51 server = xmlrpclib.ServerProxy("http://%s:%s" % (arguments[0], arguments[1])) 52 result = server.showDialog(message, yesno)53 """52 #result = server.showDialog(message, yesno) 53 #""" 54 54 result = server.askDatas(["Username", "Password", "Billing code"], \ 55 55 ["username", "password", "billingcode"], \ 56 56 {"username": username, \ 57 "password": " ******", \57 "password": "cccccc", \ 58 58 "billingcode" : billingcode}) 59 """59 #""" 60 60 #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 !" 62 65 63 66 if __name__ == "__main__" :