Skip to content

Commit

Permalink
Assert condition checks also for Empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Dec 13, 2024
1 parent f0be40a commit 810559e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/testcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def test_transcribe_diarization(self):
full_path = os.path.realpath(__file__)
path, _ = os.path.split(full_path)
hf_token = os.environ.get("HF_TOKEN")
self.assertNotEqual(None, hf_token)
self.assertTrue(hf_token, "HF_TOKEN should not be None or an empty string")

with tempfile.TemporaryDirectory() as directory:
_file = "dosparlants"
Expand Down

0 comments on commit 810559e

Please sign in to comment.