ref: Remove useless pytest.mark.asyncio (#4364)

This commit is contained in:
Christophe Bornet 2024-11-02 14:46:07 +01:00 • committed by GitHub
commit df22924b0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 0 additions and 53 deletions

View file

@ -1,9 +1,7 @@
import pytest
from langchain_core.prompts.chat import ChatPromptTemplate
from langflow.schema.message import Message
@pytest.mark.asyncio
async def test_message_async_prompt_serialization():
template = "Hello, {name}!"
message = await Message.from_template_and_variables(template, name="Langflow")