test_DMatSetup module

class TestDMatSetup[source]

Bases: object

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

Check that you can change the name and the path

test_set_rho_elec(setup)[source]

Check that the Widget allow to update rho_elec

test_set_mur_lin(setup)[source]

Check that the Widget allow to update mur_lin

test_set_Wlam(setup)[source]

Check that the Widget allow to update Wlam

test_set_Brm20(setup)[source]

Check that the Widget allow to update Brm20

test_set_alpha_Br(setup)[source]

Check that the Widget allow to update alpha_Br

test_set_rho_meca(setup)[source]

Check that the Widget allow to update rho_meca

test_set_E(setup)[source]

Check that the Widget allow to update E

test_set_Ex(setup)[source]

Check that the Widget allow to update Ex

test_set_Ey(setup)[source]

Check that the Widget allow to update Ey

test_set_Ez(setup)[source]

Check that the Widget allow to update Ez

test_set_nu(setup)[source]

Check that the Widget allow to update nu

test_set_nu_xy(setup)[source]

Check that the Widget allow to update nu_xy

test_set_nu_xz(setup)[source]

Check that the Widget allow to update nu_xz

test_set_nu_yz(setup)[source]

Check that the Widget allow to update nu_yz

test_set_G(setup)[source]

Check that the Widget allow to update G

test_set_Gxy(setup)[source]

Check that the Widget allow to update Gxy

test_set_Gyz(setup)[source]

Check that the Widget allow to update Gyz

test_set_Gxz(setup)[source]

Check that the Widget allow to update Gxz

test_set_is_isotropic(setup)[source]

Check that the Widget allow to change value of is_isotropic

test_set_cost_unit(setup)[source]

Check that the Widget allow to update cost_unit

test_set_CP(setup)[source]

Check that the Widget allow to update mat.HT.Cp

test_set_alpha(setup)[source]

Check that the Widget allow to update mat.HT.alpha

test_set_lambda(setup)[source]

Check that the Widget allow to update mat.HT.lambda

test_set_lambda_x_y_z(setup)[source]

Check that the Widget allow to update mat.HT.lambda_x_y_z

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