Skip to content

Commit

Permalink
Generating the build directory to try to get final test to run succes…
Browse files Browse the repository at this point in the history
…sfully
jmwright committed Jan 9, 2025
1 parent b84c5b6 commit dbc0a44
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_rendering.py
Original file line number Diff line number Diff line change
@@ -45,6 +45,13 @@ def test_final_assembly_png_rendering():
"""
Tests whether or not a PNG image can be output for each assembly step of a rack.
"""

# Run the generate command to create the build
import subprocess
subprocess.run(["cadorchestrator",
"generate",
'{"device-ids": ["Raspberry_Pi_4B", "NUC10i5FNH", "Raspberry_Pi_4B"]}'])

# Load the definition file and instantiate the AssemblyRenderer object
assembly_definition_file = "build/assembly-def.yaml"
def_file = Path(assembly_definition_file)

0 comments on commit dbc0a44

Please sign in to comment.