mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
test for synthesize.py
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user