Skip to content

Commit

Permalink
Update tests/integration/cli/test_cli.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eunwoo Shin <eunwoo.shin@intel.com>
  • Loading branch information
harimkang and eunwoosh authored Mar 30, 2023
1 parent 16e33f1 commit bb6f355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_otx_train_wo_output_args(self, tmp_dir_path):
assert os.path.exists(os.path.join(output_path, "latest_trained_model", "models"))
assert os.path.exists(os.path.join(output_path, "latest_trained_model", "models", "weights.pth"))
assert os.path.exists(os.path.join(output_path, "latest_trained_model", "models", "label_schema.json"))
file_list = file_list[:-1] # Remove latest from list, then file_list[-1] is latest
file_list.remove("latest_trained_model")
assert os.path.exists(os.path.join(output_path, file_list[-1]))
assert os.path.exists(os.path.join(output_path, file_list[-1], "models"))
assert os.path.exists(os.path.join(output_path, file_list[-1], "models", "weights.pth"))
Expand Down

0 comments on commit bb6f355

Please sign in to comment.