Bases: unittest.case.TestCase
Test that the widget PHoleM51 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_W0
()[source]
Check that the Widget allow to update W0
-
test_set_W1
()[source]
Check that the Widget allow to update W1
-
test_set_W3
()[source]
Check that the Widget allow to update W3
-
test_set_W4
()[source]
Check that the Widget allow to update W4
-
test_set_W5
()[source]
Check that the Widget allow to update W5
-
test_set_W6
()[source]
Check that the Widget allow to update W6
-
test_set_W7
()[source]
Check that the Widget allow to update W7
-
test_set_H0
()[source]
Check that the Widget allow to update H0
-
test_set_H1
()[source]
Check that the Widget allow to update H1
-
test_set_H2
()[source]
Check that the Widget allow to update H2
-
test_set_material_0
()[source]
Check that you can change the material of magnet_0
-
test_set_material_1
()[source]
Check that you can change the material of magnet_1
-
test_set_material_2
()[source]
Check that you can change the material of magnet_2