test_SWindPat module

class TestSWindPat[source]

Bases: object

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

Check that the GUI is correctly initialize with a WRSM machine

test_set_wind_type(setup)[source]

Check that the Widget allow to update type_winding

test_set_qs(setup)[source]

Check that the Widget allow to update qs

test_set_is_reverse(setup)[source]

Check that the Widget allow to update is_reverse_wind

test_set_coil_pitch(setup)[source]

Check that the Widget allow to update coil_pitch

test_set_Nslot(setup)[source]

Check that the Widget allow to update Nslot

test_set_output(setup)[source]

Check that the set_output works correctly

test_check(setup)[source]

Check that the check works correctly

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