Ignore:
Timestamp:
15/06/06 15:51:43 (13 years ago)
Author:
spascoe
Message:

Defined constants used by bbftp in delivery.server.

File:
1 edited

Legend:

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

    r1187 r1195  
    7171 
    7272    def authzControl(self, msgcode, transferopt, path): 
    73         # Ignore what is being authorised for now, just authorise if read allowed 
     73        syslog.syslog(syslog.LOG_DEBUG, 'TestPermAuthzHandler.authzControl: msgcode = %s' % hex(msgcode)) 
    7474        return self.authzPath(path) 
    7575 
     
    318318 
    319319        self.assertLines(['Connection and authentication correct', 'stat /.*/foo OK'], output) 
    320         self.assertLines(['.*Authz: MSG_STAT .*/foo', '.*TestPermAuthzHandler OK'], lines) 
     320        self.assertLines(['.*Authz: MSG_STAT .*/foo', '.*TestPermAuthzHandler OK', 
     321                          '.*TestPermAuthzHandler.*msgcode = %s.*' % hex(server.MSG.STAT)], lines) 
    321322 
    322323    def testFail(self): 
Note: See TracChangeset for help on using the changeset viewer.