test_SBar module

class TestSBar[source]

Bases: object

Test that the widget SBar 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 spinbox initialise to the lamination value

test_init_Cond22(setup)[source]
test_set_Hscr(setup)[source]

Check that the Widget allow to update Hscr

test_set_Lscr(setup)[source]

Check that the Widget allow to update Lscr

test_set_Hbar(setup)[source]

Check that the Widget allow to update Hbar

test_set_Wbar(setup)[source]

Check that the Widget allow to update Wbar

test_set_Lewout(setup)[source]

Check that the Widget allow to update Lewout

test_set_material(setup)[source]

Check that the combobox update the material

test_set_cond_type(setup)[source]

Check that you can change the conductor type

test_init_PCondType21(setup)[source]

Check that the init is setting a conductor if None

test_init_PCondType22(setup)[source]

Check that the init is setting a conductor if None

test_check(setup)[source]

Check that the check method return errors

pytestmark = [Mark(name='GUI', args=(), kwargs={})]