Ignore:
Timestamp:
29/09/08 16:05:29 (11 years ago)
Author:
pjkersha
Message:

Working unit tests for WSGI based Attribute Authority.

  • Altered so that all Attribute Config is picked up from the Paste ini file. Separate cfg or xml based config file is still supported.

TODO:

  • Simplify unit test config for client.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/documentation/epydoc/ndg.security.client.GatekeeperClient-pysrc.html

    r3153 r4245  
    167167<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">            <tt class="py-comment"># str call allows an AttCert type to be passed as well as string</tt> </tt> 
    168168<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-comment"># version</tt> </tt> 
    169 <a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.readAccess()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#readAccess,Method ndg.security.common.gatekeeper.Gatekeeper.readAccess()=ndg.security.common.gatekeeper.Gatekeeper-class.html#readAccess,Method ndg.security.common.gatekeeper.GatekeeperResrc.readAccess()=ndg.security.common.gatekeeper.GatekeeperResrc-class.html#readAccess,Method ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc.readAccess()=ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc-class.html#readAccess"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.readAccess 
     169<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.readAccess()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#readAccess,Method ndg.security.common.authz.pdp.proftp.FTPAccess.readAccess()=ndg.security.common.authz.pdp.proftp.FTPAccess-class.html#readAccess,Method ndg.security.common.gatekeeper.Gatekeeper.readAccess()=ndg.security.common.gatekeeper.Gatekeeper-class.html#readAccess,Method ndg.security.common.gatekeeper.GatekeeperResrc.readAccess()=ndg.security.common.gatekeeper.GatekeeperResrc-class.html#readAccess"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.readAccess 
     170ndg.security.common.authz.pdp.proftp.FTPAccess.readAccess 
    170171ndg.security.common.gatekeeper.Gatekeeper.readAccess 
    171 ndg.security.common.gatekeeper.GatekeeperResrc.readAccess 
    172 ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc.readAccess" class="py-name" href="#" onclick="return doclink('link-19', 'readAccess', 'link-19');">readAccess</a></tt><tt class="py-op">(</tt><tt id="link-20" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
     172ndg.security.common.gatekeeper.GatekeeperResrc.readAccess" class="py-name" href="#" onclick="return doclink('link-19', 'readAccess', 'link-19');">readAccess</a></tt><tt class="py-op">(</tt><tt id="link-20" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
    173173ndg.security.test.attCert" class="py-name" href="#" onclick="return doclink('link-20', 'attCert', 'link-17');">attCert</a></tt><tt class="py-op">=</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt id="link-21" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
    174174ndg.security.test.attCert" class="py-name" href="#" onclick="return doclink('link-21', 'attCert', 'link-17');">attCert</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> 
     
    197197<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">            <tt class="py-comment"># str call allows an AttCert type to be passed as well as string</tt> </tt> 
    198198<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-comment"># version</tt> </tt> 
    199 <a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.writeAccess()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#writeAccess,Method ndg.security.common.gatekeeper.Gatekeeper.writeAccess()=ndg.security.common.gatekeeper.Gatekeeper-class.html#writeAccess,Method ndg.security.common.gatekeeper.GatekeeperResrc.writeAccess()=ndg.security.common.gatekeeper.GatekeeperResrc-class.html#writeAccess,Method ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc.writeAccess()=ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc-class.html#writeAccess"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.writeAccess 
     199<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.writeAccess()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#writeAccess,Method ndg.security.common.gatekeeper.Gatekeeper.writeAccess()=ndg.security.common.gatekeeper.Gatekeeper-class.html#writeAccess,Method ndg.security.common.gatekeeper.GatekeeperResrc.writeAccess()=ndg.security.common.gatekeeper.GatekeeperResrc-class.html#writeAccess"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.writeAccess 
    200200ndg.security.common.gatekeeper.Gatekeeper.writeAccess 
    201 ndg.security.common.gatekeeper.GatekeeperResrc.writeAccess 
    202 ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc.writeAccess" class="py-name" href="#" onclick="return doclink('link-26', 'writeAccess', 'link-26');">writeAccess</a></tt><tt class="py-op">(</tt><tt id="link-27" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
     201ndg.security.common.gatekeeper.GatekeeperResrc.writeAccess" class="py-name" href="#" onclick="return doclink('link-26', 'writeAccess', 'link-26');">writeAccess</a></tt><tt class="py-op">(</tt><tt id="link-27" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
    203202ndg.security.test.attCert" class="py-name" href="#" onclick="return doclink('link-27', 'attCert', 'link-17');">attCert</a></tt><tt class="py-op">=</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt id="link-28" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
    204203ndg.security.test.attCert" class="py-name" href="#" onclick="return doclink('link-28', 'attCert', 'link-17');">attCert</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> 
     
    227226<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">            <tt class="py-comment"># str call allows an AttCert type to be passed as well as string</tt> </tt> 
    228227<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-comment"># version</tt> </tt> 
    229 <a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.executeAccess()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#executeAccess,Method ndg.security.common.gatekeeper.Gatekeeper.executeAccess()=ndg.security.common.gatekeeper.Gatekeeper-class.html#executeAccess,Method ndg.security.common.gatekeeper.GatekeeperResrc.executeAccess()=ndg.security.common.gatekeeper.GatekeeperResrc-class.html#executeAccess,Method ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc.executeAccess()=ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc-class.html#executeAccess"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.executeAccess 
     228<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-33" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.executeAccess()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#executeAccess,Method ndg.security.common.gatekeeper.Gatekeeper.executeAccess()=ndg.security.common.gatekeeper.Gatekeeper-class.html#executeAccess,Method ndg.security.common.gatekeeper.GatekeeperResrc.executeAccess()=ndg.security.common.gatekeeper.GatekeeperResrc-class.html#executeAccess"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.executeAccess 
    230229ndg.security.common.gatekeeper.Gatekeeper.executeAccess 
    231 ndg.security.common.gatekeeper.GatekeeperResrc.executeAccess 
    232 ndg.security.test.gatekeeper.TestGatekeeperResrc.TestGatekeeperResrc.executeAccess" class="py-name" href="#" onclick="return doclink('link-33', 'executeAccess', 'link-33');">executeAccess</a></tt><tt class="py-op">(</tt><tt id="link-34" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
     230ndg.security.common.gatekeeper.GatekeeperResrc.executeAccess" class="py-name" href="#" onclick="return doclink('link-33', 'executeAccess', 'link-33');">executeAccess</a></tt><tt class="py-op">(</tt><tt id="link-34" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
    233231ndg.security.test.attCert" class="py-name" href="#" onclick="return doclink('link-34', 'attCert', 'link-17');">attCert</a></tt><tt class="py-op">=</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt id="link-35" class="py-name"><a title="ndg.security.common.SQLObject.CredRepos.UserCredential.attCert 
    234232ndg.security.test.attCert" class="py-name" href="#" onclick="return doclink('link-35', 'attCert', 'link-17');">attCert</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> 
     
    281279    <td align="left" class="footer"> 
    282280    <a href="epydoc-log.html">Generated by Epydoc 
    283     3.0beta1 on Mon Dec 17 09:22:58 2007</a> 
     281    3.0.1 on Thu Sep  4 09:37:55 2008</a> 
    284282    </td> 
    285283    <td align="right" class="footer"> 
    286       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> 
     284      <a target="mainFrame" href="http://epydoc.sourceforge.net" 
     285        >http://epydoc.sourceforge.net</a> 
    287286    </td> 
    288287  </tr> 
     
    295294  // visible); but by default, we want to hide them.  So hide 
    296295  // them unless we have a cookie that says to show them. 
    297   checkCookie() 
     296  checkCookie(); 
    298297  // --> 
    299298</script> 
    300    
    301299</body> 
    302300</html> 
Note: See TracChangeset for help on using the changeset viewer.