Skip to content

Commit

Permalink
fix builder
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Jan 11, 2024
1 parent 0da6463 commit 159b5d5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@
import unittest
import subprocess

from transcribe_anything.whisper import get_environment


class WhisperTester(unittest.TestCase):
"""Tester for whisper ai."""

def test_whisper_cmd(self) -> None:
"""Check that the command is installed by the setup process."""
subprocess.check_output("whisper --help", shell=True)
env = get_environment()
subprocess.check_output(
"whisper --help",
shell=True,
env=env,
)


if __name__ == "__main__":
Expand Down

0 comments on commit 159b5d5

Please sign in to comment.