test for synthesize.py

This commit is contained in:
Eren Gölge
2021-04-27 14:17:38 +02:00
parent 19d9f58009
commit 1235e54738
4 changed files with 36 additions and 3 deletions
+5
View File
@@ -14,3 +14,8 @@ def get_tests_input_path():
def get_tests_output_path():
"""Returns the path to the directory for test outputs."""
return os.path.join(get_tests_path(), "outputs")
def run_cli(command):
exit_status = os.system(command)
assert exit_status == 0, f" [!] command `{command}` failed."