test_SMHoleMag module

class test_SMHoleMag(methodName='runTest')[source]

Bases: unittest.case.TestCase

Test that the widget SMHoleMag 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 initialize to the correct hole

test_init_SyRM()[source]

Check that the Widget initialize to the correct hole

test_init_SyRM_51()[source]

Check that the Widget initialize to the correct hole

test_init_51()[source]

Check that you can edit a hole 51

test_init_52()[source]

Check that you can edit a hole 52

test_init_53()[source]

Check that you can edit a hole 53

test_init_57()[source]

Check that you can edit a hole 57

test_init_58()[source]

Check that you can edit a hole 58

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

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

test_add_remove_hole()[source]
test_add_remove_hole_SyRM()[source]