mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-13 21:47:12 +00:00
Tedma4/twilio tool (#5136)
# Add twilio sms tool --------- Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
This commit is contained in:
9
tests/integration_tests/utilities/test_twilio.py
Normal file
9
tests/integration_tests/utilities/test_twilio.py
Normal file
@@ -0,0 +1,9 @@
|
||||
"""Integration test for Sms."""
|
||||
from langchain.utilities.twilio import TwilioAPIWrapper
|
||||
|
||||
|
||||
def test_call() -> None:
|
||||
"""Test that call runs."""
|
||||
twilio = TwilioAPIWrapper()
|
||||
output = twilio.run("Message", "+16162904619")
|
||||
assert output
|
Reference in New Issue
Block a user