test_SMachineDimension module

class TestSMachineDimension[source]

Bases: object

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

Check that the Widget spinbox initialise to the lamination value

test_set_SRint(setup)[source]

Check that the Widget allow to update SRint

test_set_SRext(setup)[source]

Check that the Widget allow to update SRext

test_set_RRint(setup)[source]

Check that the Widget allow to update RRint

test_set_RRext(setup)[source]

Check that the Widget allow to update RRext

test_set_Wfra(setup)[source]

Check that the Widget allow to update Wfra

test_set_Lfra(setup)[source]

Check that the Widget allow to update Lfra