Package turbogears :: Package widgets :: Package tests :: Module test_widgets :: Class TestParams
[hide private]

Class TestParams

source code

Nested Classes [hide private]
  A
  B
  C
Instance Methods [hide private]
 
test_building_params(self)
Tests that the list of params is built correctly.
source code
 
test_default_values(self)
Test that params which are not initialized at the ctor.
source code
 
test_overridal(self)
Test we can override a template_var in the ctor, and at display.
source code
Method Details [hide private]

test_building_params(self)

source code 

Tests that the list of params is built correctly. Must be the union of all params from all bases.

test_default_values(self)

source code 

Test that params which are not initialized at the ctor. nor at the subclass declarartion default to None.

test_overridal(self)

source code 

Test we can override a template_var in the ctor, and at display. Both from the class and it's bases.