test_PWSlot12 module

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

Bases: unittest.case.TestCase

Test that the widget PWSlot12 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_H0()[source]

Check that the Widget allow to update H0

test_set_H1()[source]

Check that the Widget allow to update H1

test_set_R1()[source]

Check that the Widget allow to update R1

test_set_R2()[source]

Check that the Widget allow to update R2

test_output_txt()[source]

Check that the Output text is computed and correct