TestSMHoleMag
Bases: object
object
Test that the widget SMHoleMag behave like it should
setup
Run at the begining of every test to setup the gui
test_init
Check that the Widget initialize to the correct hole
test_init_SyRM
test_init_SyRM_51
test_init_51
Check that you can edit a hole 51
test_init_52
Check that you can edit a hole 52
test_init_53
Check that you can edit a hole 53
test_init_57
Check that you can edit a hole 57
test_init_58
Check that you can edit a hole 58
test_set_type_51
test_set_type_52
test_set_type_53
test_set_type_57
test_set_type_58
test_SyRM_set_type_54_51_54
Set a type 54 for a SyRM then set a 51 to check how the magnets are handled
test_add_remove_hole
test_add_remove_hole_SyRM
test_s_plot