test_SBar module

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

Bases: unittest.case.TestCase

Test that the widget SBar 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_init_Cond22()[source]
test_set_Hscr()[source]

Check that the Widget allow to update Hscr

test_set_Lscr()[source]

Check that the Widget allow to update Lscr

test_set_Hbar()[source]

Check that the Widget allow to update Hbar

test_set_Wbar()[source]

Check that the Widget allow to update Wbar

test_set_Lewout()[source]

Check that the Widget allow to update Lewout

test_set_material()[source]

Check that the combobox update the material

test_set_cond_type()[source]

Check that you can change the conductor type