Changeset 3203


Ignore:
Timestamp:
11/01/08 14:03:35 (12 years ago)
Author:
pjkersha
Message:

security/python/ndg.security.test/ndg/security/test/sessionMgr/test.py,
security/python/ndg.security.test/ndg/security/test/sessionMgr/SessionMgrClientTest.py: fix settings of user.creds file for test1Connect

Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgr/test.py

    r3192 r3203  
    8181        print "User '%s' connected to Session Manager:\n%s" % \ 
    8282                                                        (username, self.sessID) 
    83         creds = self.issuingCert or '' + userCert + self.userPriKey 
     83        creds='\n'.join((self.issuingCert or '',self.userCert,self.userPriKey)) 
    8484        open(mkPath("user.creds"), "w").write(creds) 
    8585     
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgrClient/SessionMgrClientTest.py

    r3199 r3203  
    154154                                                        (username, self.sessID) 
    155155             
    156         creds = '\n'.join(self.issuingCert or '',self.userCert,self.userPriKey) 
     156        creds='\n'.join((self.issuingCert or '',self.userCert,self.userPriKey)) 
    157157        open(mkPath("user.creds"), "w").write(creds) 
    158158             
Note: See TracChangeset for help on using the changeset viewer.