Skip to content

Commit

Permalink
stages_selected vs selected_stages
Browse files Browse the repository at this point in the history
  • Loading branch information
danielholanda committed Dec 6, 2023
1 parent d85c9de commit 00d96f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -996,15 +996,15 @@ def test_026_cli_report(self):
result_dict = report.get_dict(
summary_csv_path,
[
"stages_selected",
"selected_stages",
"stage_duration: export_pytorch",
"stage_state: export_pytorch",
],
)
for result in result_dict.values():
# All of the models should have exported to ONNX, so the "onnx_exported" value
# should be True for all of them
assert "export_pytorch" in yaml.safe_load(result["stages_selected"])
assert "export_pytorch" in yaml.safe_load(result["selected_stages"])
assert yaml.safe_load(result["stage_state: export_pytorch"]) == "COMPLETED"
assert yaml.safe_load(result["stage_duration: export_pytorch"]) > 0

Expand Down

0 comments on commit 00d96f1

Please sign in to comment.