Bases: unittest.case.TestCase
Test that the widget SMachineType 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_set_name
()[source]
Check that the Widget allow to update name
-
test_set_is_inner_rotor
()[source]
Check that the Widget allow to update is_inner_rotor
-
test_set_p_scim
()[source]
Check that the Widget allow to update p
-
test_set_p_dfim
()[source]
Check that the Widget allow to update p
-
test_set_p_spmsm
()[source]
Check that the Widget allow to update p
-
test_set_p_sipmsm
()[source]
Check that the Widget allow to update p
-
test_set_p_ipmsm
()[source]
Check that the Widget allow to update p
-
test_set_p_syrm
()[source]
Check that the Widget allow to update p