Added a check for the 3D model in the STEP tests.

Now that they get downloaded this should work even in the docker image.
This commit is contained in:
Salvador E. Tropea 2020-12-30 15:41:48 -03:00
parent c626f864f9
commit 3b1f62ac8e
1 changed files with 4 additions and 1 deletions

View File

@ -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()