From 3b1f62ac8e570a0bb9a2e483af14e2035ffa7cfc Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 30 Dec 2020 15:41:48 -0300 Subject: [PATCH] Added a check for the 3D model in the STEP tests. Now that they get downloaded this should work even in the docker image. --- tests/test_plot/test_step.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_plot/test_step.py b/tests/test_plot/test_step.py index b471c991..4c231273 100644 --- a/tests/test_plot/test_step.py +++ b/tests/test_plot/test_step.py @@ -27,7 +27,10 @@ def test_step_1(): ctx = context.TestContext('STEP_1', prj, 'step_simple', STEP_DIR) ctx.run() # Check all outputs are there - ctx.expect_out_file(os.path.join(STEP_DIR, prj+'-3D.step')) + name = os.path.join(STEP_DIR, prj+'-3D.step') + ctx.expect_out_file(name) + # Check the R and C 3D models are there + ctx.search_in_file(name, ['R_0805_2012Metric', 'C_0805_2012Metric']) ctx.clean_up()