test_PWSlot11 module

class TestPWSlot11[source]

Bases: object

Test that the widget PWSlot11 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_set_W0(setup)[source]

Check that the Widget allow to update W0

test_set_W1(setup)[source]

Check that the Widget allow to update W1

test_set_W2(setup)[source]

Check that the Widget allow to update W2

test_set_H0(setup)[source]

Check that the Widget allow to update H0

test_set_H1(setup)[source]

Check that the Widget allow to update H1

test_set_H1_is_rad(setup)[source]

Check that the Widget allow to update H1_is_rad

test_set_H2(setup)[source]

Check that the Widget allow to update H2

test_set_R1(setup)[source]

Check that the Widget allow to update R1

test_output_txt(setup)[source]

Check that the Output text is computed and correct

test_check(setup)[source]

Check that the check is working correctly

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