You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/tests/integration_tests/utilities/test_polygon.py

10 lines
344 B
Python

"""Integration test for Polygon API Wrapper."""
from langchain_community.utilities.polygon import PolygonAPIWrapper
def test_get_last_quote() -> None:
"""Test for getting the last quote of a ticker from the Polygon API."""
polygon = PolygonAPIWrapper()
output = polygon.run("get_last_quote", "AAPL")
assert output is not None