Ignore:
Timestamp:
03/07/06 10:19:20 (16 years ago)
Author:
spascoe
Message:

Client-side python API now works on all test cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/test/test_embedded.py

    r1247 r1264  
    2424 
    2525import delivery.server as server 
     26import traceback 
    2627 
    2728 
     
    3435        #fh.close() 
    3536        #time.sleep(20) 
     37 
     38        msg = self.recv() 
     39        syslog.syslog(syslog.LOG_DEBUG, 'AuthContext received Auth message: %s' % msg) 
     40                 
     41        self.send(NDG_HANDSHAKE) 
     42 
     43        privatestr = self.recv() 
     44        syslog.syslog(syslog.LOG_DEBUG, "AuthContext received privatestr: %s" % privatestr) 
    3645         
    37         msg = self.recvCStr() 
    38  
    39         syslog.syslog(syslog.LOG_DEBUG, 'AuthContext received Auth message: %s' % msg) 
    40  
    41         self.send(NDG_HANDSHAKE) 
    42  
    43         privatestr = self.recvCStr() 
    44         syslog.syslog(syslog.LOG_DEBUG, "AuthContext received privatestr: %s" % privatestr) 
    45  
    4646        return self.makeAuthzHandler(msg, "TestCaseUser") 
    4747 
Note: See TracChangeset for help on using the changeset viewer.