Package qm :: Package test :: Module test :: Class Test :: Class TestField
[hide private]
[frames] | no frames]

Class TestField

source code

  object --+            
           |            
fields.Field --+        
               |        
fields.TextField --+    
                   |    
  fields.ChoiceField --+
                       |
                      Test.TestField

A 'TestField' contains the name of a test.

The exact format of the name depends on the test database in use.

Instance Methods [hide private]
 
GetItems(self)
Return the options from which to choose.
source code

Inherited from fields.ChoiceField: FormatValueAsHtml, Validate

Inherited from fields.TextField: FormatValueAsText, GetHelp, GetValueFromDomNode, MakeDomNodeForValue, ParseFormValue, ParseTextValue, __init__

Inherited from fields.Field: GetBriefDescription, GetDefaultValue, GetDescription, GetHtmlFormFieldName, GetHtmlHelp, GetName, GetSubfields, GetTitle, IsComputed, IsHidden, IsReadOnly, SetName, __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from fields.Field: form_field_prefix

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

GetItems(self)

source code 

Return the options from which to choose.

returns -- A sequence of strings, each of which will be presented as a choice for the user.

Overrides: fields.ChoiceField.GetItems
(inherited documentation)