AyhamJo7's picture
feat(agent): implement GAIA evaluation workflow
6f718f1
Raw
History Blame Contribute Delete
347 Bytes
from gaia_agent.tools import transcribe_youtube
def test_youtube_tool_rejects_non_youtube_hosts() -> None:
try:
transcribe_youtube("https://example.com/video")
except ValueError as error:
assert str(error) == "only YouTube video URLs are supported"
else:
raise AssertionError("non-YouTube host was accepted")