[Tests][Added] Very simple THT 3D resistors test
This commit is contained in:
parent
2c91fd79bc
commit
7a132e0606
|
|
@ -156,17 +156,19 @@ def test_render_3d_variant_1(test_dir):
|
||||||
ctx.clean_up(keep_project=True)
|
ctx.clean_up(keep_project=True)
|
||||||
|
|
||||||
|
|
||||||
# @pytest.mark.slow
|
@pytest.mark.slow
|
||||||
# @pytest.mark.pcbnew
|
@pytest.mark.pcbnew
|
||||||
# def test_render_3d_res_tht_1(test_dir):
|
@pytest.mark.skipif(context.ki5() or context.ki6(), reason="slow")
|
||||||
# prj = 'resistor_tht'
|
def test_render_3d_res_tht_1(test_dir):
|
||||||
# yaml = 'render_3d_tht_res_1'
|
""" Very naive test, just check if working """
|
||||||
# ctx = context.TestContext(test_dir, prj, yaml)
|
prj = 'resistor_tht'
|
||||||
# ctx.run() # extra_debug=True
|
yaml = 'render_3d_tht_res_1'
|
||||||
# # Check all outputs are there
|
ctx = context.TestContext(test_dir, prj, yaml)
|
||||||
# name = prj+'-3D_top.png'
|
ctx.run() # extra_debug=True
|
||||||
# ctx.expect_out_file(name)
|
# Check all outputs are there
|
||||||
# ctx.clean_up(keep_project=True)
|
name = prj+'-3D_top.png'
|
||||||
|
ctx.expect_out_file(name)
|
||||||
|
ctx.clean_up(keep_project=True)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.slow
|
@pytest.mark.slow
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue