TestSBar
Bases: object
object
Test that the widget SBar behave like it should
setup
Run at the begining of every test to setup the gui
test_init
Check that the Widget spinbox initialise to the lamination value
test_init_Cond22
test_set_Hscr
Check that the Widget allow to update Hscr
test_set_Lscr
Check that the Widget allow to update Lscr
test_set_Hbar
Check that the Widget allow to update Hbar
test_set_Wbar
Check that the Widget allow to update Wbar
test_set_Lewout
Check that the Widget allow to update Lewout
test_set_material
Check that the combobox update the material
test_set_cond_type
Check that you can change the conductor type
test_init_PCondType21
Check that the init is setting a conductor if None
test_init_PCondType22
test_check
Check that the check method return errors