test_SMachineDimension module

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

Bases: unittest.case.TestCase

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

Check that the Widget spinbox initialise to the lamination value

test_set_SRint()[source]

Check that the Widget allow to update SRint

test_set_SRext()[source]

Check that the Widget allow to update SRext

test_set_RRint()[source]

Check that the Widget allow to update RRint

test_set_RRext()[source]

Check that the Widget allow to update RRext

test_set_Wfra()[source]

Check that the Widget allow to update Wfra

test_set_Lfra()[source]

Check that the Widget allow to update Lfra