test_SMHoleMag module

class TestSMHoleMag[source]

Bases: object

Test that the widget SMHoleMag behave like it should

setup()[source]

Run at the begining of every test to setup the gui

test_init(setup)[source]

Check that the Widget initialize to the correct hole

test_init_SyRM(setup)[source]

Check that the Widget initialize to the correct hole

test_init_SyRM_51(setup)[source]

Check that the Widget initialize to the correct hole

test_init_51(setup)[source]

Check that you can edit a hole 51

test_init_52(setup)[source]

Check that you can edit a hole 52

test_init_53(setup)[source]

Check that you can edit a hole 53

test_init_57(setup)[source]

Check that you can edit a hole 57

test_init_58(setup)[source]

Check that you can edit a hole 58

test_set_type_51(setup)[source]
test_set_type_52(setup)[source]
test_set_type_53(setup)[source]
test_set_type_57(setup)[source]
test_set_type_58(setup)[source]
test_SyRM_set_type_54_51_54(setup)[source]

Set a type 54 for a SyRM then set a 51 to check how the magnets are handled

test_add_remove_hole(setup)[source]
test_add_remove_hole_SyRM(setup)[source]
test_s_plot(setup)[source]