Bases: unittest.case.TestCase
Test that the widget SWindPat behave like it should
-
setUp
()[source]
Run at the begining of every test to setup the gui
-
classmethod
setUpClass
()[source]
Start the app for the test
-
classmethod
tearDownClass
()[source]
Exit the app after the test
-
test_init
()[source]
Check that the Widget spinbox initialise to the lamination value
-
test_init_WRSM
()[source]
Check that the GUI is correctly initialize with a WRSM machine
-
test_set_wind_type
()[source]
Check that the Widget allow to update type_winding
-
test_set_qs
()[source]
Check that the Widget allow to update qs
-
test_set_is_reverse
()[source]
Check that the Widget allow to update is_reverse_wind
-
test_set_coil_pitch
()[source]
Check that the Widget allow to update coil_pitch
-
test_set_Nslot
()[source]
Check that the Widget allow to update Nslot