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.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def-class.html

    r3153 r4245  
    6262</table> 
    6363<!-- ==================== CLASS DESCRIPTION ==================== --> 
    64 <h1 class="epydoc">Class HostInfo_Def</h1><span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.HostInfo_Def">source&nbsp;code</a></span><br /><br /> 
     64<h1 class="epydoc">Class HostInfo_Def</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.HostInfo_Def">source&nbsp;code</a></span></p> 
    6565<center> 
    66 <center>  <map id="uml_class_diagram_for_ndg_secu_10" name="uml_class_diagram_for_ndg_secu_10"> 
    67 <area shape="rect" href="javascript: void(0);" title="Represents an element of complexType, potentially containing other elements." alt="" coords="108,56,153,72"/> 
    68 <area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def" alt="" coords="62,101,106,117"/> 
    69 <area shape="rect" href="javascript: void(0);" title="The parent class for all parseable SOAP types." alt="" coords="108,11,153,27"/> 
    70 <area shape="rect" href="javascript: void(0);" title="Typecodes subclass to represent a Global Type Definition by setting class variable type." alt="" coords="15,56,60,72"/> 
     66<center>  <map id="uml_class_diagram_for_ndg_secu_22" name="uml_class_diagram_for_ndg_secu_22"> 
     67<area shape="rect" href="javascript:void(0);" title="ZSI.TCcompound.ComplexType.logger" alt="" coords="257,414,660,433"/> 
     68<area shape="rect" href="javascript:void(0);" title="Parameters: &#160;&#160;&#160;&#160;elt &#45;&#45; the DOM element being parsed &#160;&#160;&#160;&#160;ps &#45;&#45; the ParsedSoap object." alt="" coords="257,436,660,454"/> 
     69<area shape="rect" href="javascript:void(0);" title="Parameters:..." alt="" coords="257,454,660,473"/> 
     70<area shape="rect" href="javascript:void(0);" title="ZSI.TCcompound.ComplexType.cb" alt="" coords="257,473,660,492"/> 
     71<area shape="rect" href="javascript:void(0);" title="For derived types set appropriate parameter and" alt="" coords="257,492,660,510"/> 
     72<area shape="rect" href="javascript:void(0);" title="Represents an element of complexType, potentially containing other elements." alt="" coords="256,397,661,512"/> 
     73<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html#schema" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def.schema" alt="" coords="32,558,536,577"/> 
     74<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html#type" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def.type" alt="" coords="32,577,536,596"/> 
     75<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html#__init__" title="pyclass &#45;&#45; the Python class to hold the fields ofwhat &#45;&#45; a list of fields &#160;to be in the complexType inorder &#45;&#45; fields must be in exact order or not &#160;inline &#45;&#45; don&#39;t href/id when serializing mutable &#45;&#45; object could change &#160;between multiple serializations type &#45;&#45; the (URI,localname) of the datatype mixed &#45;&#45; mixed content model? True/False mixed_aname &#45;&#45; if mixed is True, &#160;specify text content here." alt="" coords="32,598,536,617"/> 
     76<area shape="rect" href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def&#45;class.html" title="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def" alt="" coords="31,541,537,618"/> 
     77<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.attribute_typecode_dict" alt="" coords="351,28,567,46"/> 
     78<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.tag" alt="" coords="351,46,567,65"/> 
     79<area shape="rect" href="javascript:void(0);" title="ZSI.TC.TypeCode.typechecks" alt="" coords="351,65,567,84"/> 
     80<area shape="rect" href="javascript:void(0);" title="Simple HREF for non&#45;string and non&#45;struct and non&#45;array." alt="" coords="351,86,567,105"/> 
     81<area shape="rect" href="javascript:void(0);" title="See if the name and type of the &quot;elt&quot; element is what we&#39;re looking for." alt="" coords="351,105,567,124"/> 
     82<area shape="rect" href="javascript:void(0);" title="See if the type of the &quot;elt&quot; element is what we&#39;re looking for." alt="" coords="351,124,567,142"/> 
     83<area shape="rect" href="javascript:void(0);" title="Paramters:..." alt="" coords="351,142,567,161"/> 
     84<area shape="rect" href="javascript:void(0);" title="Get the parselist and human&#45;readable version, errorlist is returned, &#160;because it is used in error messages." alt="" coords="351,161,567,180"/> 
     85<area shape="rect" href="javascript:void(0);" title="Return True if Attributes are declared outside the scope of SOAP (&#39;root&#39;, &#160;&#39;id&#39;, &#39;href&#39;), and some attributes automatically handled (xmlns, xsi:type)." alt="" coords="351,180,567,198"/> 
     86<area shape="rect" href="javascript:void(0);" title="Simple boolean test to see if we match the element name." alt="" coords="351,198,567,217"/> 
     87<area shape="rect" href="javascript:void(0);" title="Is the element NIL, and is that okay? Parameters: &#160;&#160;&#160;&#160;elt &#45;&#45; the DOM element being parsed &#160;&#160;&#160;&#160;ps &#45;&#45; the ParsedSoap object." alt="" coords="351,217,567,236"/> 
     88<area shape="rect" href="javascript:void(0);" title="find all attributes specified in the attribute_typecode_dict in current element tag, if an attribute is found set it in the &#160;self.attributes dictionary." alt="" coords="351,236,567,254"/> 
     89<area shape="rect" href="javascript:void(0);" title="Parameters:..." alt="" coords="351,254,567,273"/> 
     90<area shape="rect" href="javascript:void(0);" title="set href attribute..." alt="" coords="351,273,567,292"/> 
     91<area shape="rect" href="javascript:void(0);" title="set id attribute..." alt="" coords="351,292,567,310"/> 
     92<area shape="rect" href="javascript:void(0);" title="if typed, set the xsi:type attribute ..." alt="" coords="351,310,567,329"/> 
     93<area shape="rect" href="javascript:void(0);" title="convert text into typecode specific data." alt="" coords="351,348,567,366"/> 
     94<area shape="rect" href="javascript:void(0);" title="The parent class for all parseable SOAP types." alt="" coords="349,10,568,368"/> 
     95<area shape="rect" href="ZSI.schema.SchemaInstanceType&#45;class.html" title="Register all types/elements, when hit already defined &#160;class dont create a new one just give back reference." alt="" coords="17,442,204,461"/> 
     96<area shape="rect" href="javascript:void(0);" title="if xsi:type does not match the instance type attr, check to see if it is a derived type substitution." alt="" coords="17,464,204,482"/> 
     97<area shape="rect" href="javascript:void(0);" title="Typecodes subclass to represent a Global Type Definition by setting class variable type." alt="" coords="16,425,205,484"/> 
    7198</map> 
    72   <img src="uml_class_diagram_for_ndg_secu_10.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_10" ismap="ismap" class="graph-without-title" /> 
    73 </center></center> 
     99  <img src="uml_class_diagram_for_ndg_secu_22.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_22" ismap="ismap" class="graph-without-title" /> 
     100</center> 
     101</center> 
    74102<hr /> 
    75103<!-- ==================== NESTED CLASSES ==================== --> 
     
    123151          <td><span class="summary-sig"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 
    124152        <span class="summary-sig-arg">pname</span>, 
    125         <span class="summary-sig-arg">ofwhat</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>, 
     153        <span class="summary-sig-arg">ofwhat</span>=<span class="summary-sig-default">()</span>, 
    126154        <span class="summary-sig-arg">attributes</span>=<span class="summary-sig-default">None</span>, 
    127155        <span class="summary-sig-arg">extend</span>=<span class="summary-sig-default">False</span>, 
    128156        <span class="summary-sig-arg">restrict</span>=<span class="summary-sig-default">False</span>, 
    129157        <span class="summary-sig-arg">**kw</span>)</span><br /> 
    130       pyclass -- the Python class to hold the fields ofwhat -- a list of 
     158      pyclass -- the Python class to hold the fields ofwhat -- a list of  
    131159      fields to be in the complexType inorder -- fields must be in exact  
    132160      order or not inline -- don't href/id when serializing mutable --  
     
    173201      <code>getSubstituteType</code> 
    174202      </p> 
    175     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 
    176       <code>__delattr__</code>, 
    177       <code>__getattribute__</code>, 
    178       <code>__hash__</code>, 
    179       <code>__new__</code>, 
    180       <code>__reduce__</code>, 
    181       <code>__reduce_ex__</code>, 
    182       <code>__repr__</code>, 
    183       <code>__setattr__</code>, 
    184       <code>__str__</code> 
    185       </p> 
    186203    </td> 
    187204  </tr> 
     
    208225      <span class="summary-type">&nbsp;</span> 
    209226    </td><td class="summary"> 
    210         <a name="schema"></a><span class="summary-name">schema</span> = <code title="'urn:ndg:security:attAuthority'"><code class="variable-quote">'</code><code class="variable-string">urn:ndg:security:attAuthority</code><code class="variable-quote">'</code></code> 
     227        <a name="schema"></a><span class="summary-name">schema</span> = <code title="&quot;urn:ndg:security:attAuthority&quot;">&quot;urn:ndg:security:attAuthority&quot;</code> 
    211228    </td> 
    212229  </tr> 
     
    215232      <span class="summary-type">&nbsp;</span> 
    216233    </td><td class="summary"> 
    217         <a name="type"></a><span class="summary-name">type</span> = <code title="('urn:ndg:security:attAuthority', 'HostInfo')"><code class="variable-group">(</code><code class="variable-quote">'</code><code class="variable-string">urn:ndg:security:attAuthority</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">HostInfo</code><code class="variable-quote">'</code><code class="variable-group">)</code></code> 
     234        <a name="type"></a><span class="summary-name">type</span> = <code title="schema, &quot;HostInfo&quot;">schema, &quot;HostInfo&quot;</code> 
    218235    </td> 
    219236  </tr> 
     
    227244      <code>tag</code>, 
    228245      <code>typechecks</code> 
    229       </p> 
    230     </td> 
    231   </tr> 
    232 </table> 
    233 <!-- ==================== PROPERTIES ==================== --> 
    234 <a name="section-Properties"></a> 
    235 <table class="summary" border="1" cellpadding="3" 
    236        cellspacing="0" width="100%" bgcolor="white"> 
    237 <tr bgcolor="#70b0f0" class="table-header"> 
    238   <td colspan="2" class="table-header"> 
    239     <table border="0" cellpadding="0" cellspacing="0" width="100%"> 
    240       <tr valign="top"> 
    241         <td align="left"><span class="table-header">Properties</span></td> 
    242         <td align="right" valign="top" 
    243          ><span class="options">[<a href="#section-Properties" 
    244          class="privatelink" onclick="toggle_private();" 
    245          >hide private</a>]</span></td> 
    246       </tr> 
    247     </table> 
    248   </td> 
    249 </tr> 
    250   <tr> 
    251     <td colspan="2" class="summary"> 
    252     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 
    253       <code>__class__</code> 
    254246      </p> 
    255247    </td> 
     
    283275  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 
    284276        <span class="sig-arg">pname</span>, 
    285         <span class="sig-arg">ofwhat</span>=<span class="sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>, 
     277        <span class="sig-arg">ofwhat</span>=<span class="sig-default">()</span>, 
    286278        <span class="sig-arg">attributes</span>=<span class="sig-default">None</span>, 
    287279        <span class="sig-arg">extend</span>=<span class="sig-default">False</span>, 
     
    293285    ><span class="codelink"><a href="ndg.security.common.AttAuthority.AttAuthority_services_types-pysrc.html#ns0.HostInfo_Def.__init__">source&nbsp;code</a></span>&nbsp; 
    294286    </td> 
    295   </table> 
     287  </tr></table> 
    296288   
    297   pyclass -- the Python class to hold the fields ofwhat -- a list of  
     289  <p>pyclass -- the Python class to hold the fields ofwhat -- a list of  
    298290  fields to be in the complexType inorder -- fields must be in exact order  
    299291  or not inline -- don't href/id when serializing mutable -- object could  
    300292  change between multiple serializations type -- the (URI,localname) of the 
    301293  datatype mixed -- mixed content model? True/False mixed_aname -- if mixed 
    302   is True, specify text content here. Default _text 
     294  is True, specify text content here. Default _text</p> 
    303295  <dl class="fields"> 
    304296    <dt>Overrides: 
    305       ZSI.TCcompound.ComplexType.__init__ 
     297        ZSI.TC.TypeCode.__init__ 
    306298        <dd><em class="note">(inherited documentation)</em></dd> 
    307299    </dt> 
     
    342334    <td align="left" class="footer"> 
    343335    <a href="epydoc-log.html">Generated by Epydoc 
    344     3.0beta1 on Mon Dec 17 09:22:42 2007</a> 
     336    3.0.1 on Thu Sep  4 09:37:42 2008</a> 
    345337    </td> 
    346338    <td align="right" class="footer"> 
    347       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> 
     339      <a target="mainFrame" href="http://epydoc.sourceforge.net" 
     340        >http://epydoc.sourceforge.net</a> 
    348341    </td> 
    349342  </tr> 
     
    356349  // visible); but by default, we want to hide them.  So hide 
    357350  // them unless we have a cookie that says to show them. 
    358   checkCookie() 
     351  checkCookie(); 
    359352  // --> 
    360353</script> 
    361    
    362354</body> 
    363355</html> 
Note: See TracChangeset for help on using the changeset viewer.