langchain/libs/cli/tests/test_events.py

8 lines
226 B
Python
Raw Normal View History

from langchain_cli.utils.events import EventDict, create_events
def test_create_events() -> None:
assert create_events(
[EventDict(event="Test Event", properties={"test": "test"})]
) == {"status": "success"}