Skip to content

Commit

Permalink
feat: add ten_manager test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Nov 17, 2024
1 parent f0bafe8 commit bd99e88
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ def test_invalid_package_type():
f"--config-file={config_file}",
"install",
]
returncode, _ = cmd_exec.get_cmd_output(" ".join(cmds))
assert returncode == 1
returncode, output_text = cmd_exec.get_cmd_output(" ".join(cmds))
if returncode != 1:
print(output_text)
raise Exception("Incorrect return code")
finally:
os.chdir(origin_wd)

Expand Down

0 comments on commit bd99e88

Please sign in to comment.