Changeset 3330

Show
Ignore:
Timestamp:
01/05/10 15:48:44 (10 years ago)
Author:
yemuru
Message:

Update test

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/seattlelib/tests/registerhttpcallback_tests/ut_registerhttpcallback_query_post.py

    r3317 r3330  
    4040  except Exception, e: 
    4141    raise Exception('http retrieve failed on retrieving data from server')   
     42  else: 
     43    if mycontext['received_http_query'] != http_query: 
     44      print 'query failed' 
     45      print 'sent query dict was ' + str(http_query) 
     46      print 'received query dict was ' + str(mycontext['received_http_query']) 
    4247 
    43   if mycontext['received_http_query'] != http_query: 
    44     print 'query failed' 
    45     print 'sent query dict was ' + str(http_query) 
    46     print 'received query dict was ' + str(mycontext['received_http_query']) 
    47  
    48   if mycontext['received_http_post'] != http_post: 
    49     print 'post failed' 
    50     print 'sent query dict was ' + str(http_query) 
    51     print 'received query dict was ' + str(mycontext['received_http_post'])     
    52      
    53  
     48    if mycontext['received_http_post'] != http_post: 
     49      print 'post failed' 
     50      print 'sent query dict was ' + str(http_query) 
     51      print 'received query dict was ' + str(mycontext['received_http_post'])     
     52       
     53  finally: 
     54    #stop sever 
     55    stop_registerhttpcallback(handle)