Ignore:
Timestamp:
24/02/10 16:01:49 (9 years ago)
Author:
pjkersha
Message:

Merging in changes from 6557

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_test/ndg/security/test/unit/authz/msi/test_msi.py

    r6069 r6633  
    5959                assert(attribute.attributeAuthorityURI) 
    6060 
     61                         
    6162 
    6263class PIPPlaceholder(PIPBase): 
     
    8182    PERMITTED_RESOURCE_URI = '/test_securedURI' 
    8283    DENIED_RESOURCE_URI = '/test_accessDeniedToSecuredURI' 
     84    WITH_ESCAPE_CHARS_RESOURCE_URI = '/test_securedURI?MyQueryParam=100' 
    8385     
    8486    def setUp(self): 
     
    104106        self.assert_(response.status == Response.DECISION_DENY) 
    105107 
     108    def test03WithEscapeCharsInPolicy(self): 
     109        self.request.resource[Resource.URI_NS 
     110                              ] = PDPTestCase.WITH_ESCAPE_CHARS_RESOURCE_URI       
     111        response = self.pdp.evaluate(self.request) 
     112         
     113        self.assert_(response.status == Response.DECISION_PERMIT) 
     114 
    106115         
    107116if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.