Skip to content

Commit 4793392

Browse files
committed
remove unneeded @pytest.mark.asyncio
Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>
1 parent c6d2a13 commit 4793392

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/nvidia_nat_langchain/tests/test_exa_internet_search.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def tool_config():
8787
return ExaInternetSearchToolConfig(api_key="test-key", max_retries=2, max_query_length=50)
8888

8989

90-
@pytest.mark.asyncio
9190
async def test_empty_key_returns_unavailable(tool_config):
9291
from nat.plugins.langchain.tools.exa_internet_search import ExaInternetSearchToolConfig
9392
from nat.plugins.langchain.tools.exa_internet_search import exa_internet_search
@@ -99,7 +98,6 @@ async def test_empty_key_returns_unavailable(tool_config):
9998
assert "EXA_API_KEY" in result
10099

101100

102-
@pytest.mark.asyncio
103101
async def test_query_truncation(tool_config):
104102
from nat.plugins.langchain.tools.exa_internet_search import exa_internet_search
105103

@@ -123,7 +121,6 @@ async def test_query_truncation(tool_config):
123121
assert truncated_query.endswith("...")
124122

125123

126-
@pytest.mark.asyncio
127124
async def test_empty_results(tool_config):
128125
from nat.plugins.langchain.tools.exa_internet_search import exa_internet_search
129126

@@ -140,7 +137,6 @@ async def test_empty_results(tool_config):
140137
assert "No web search results found" in result
141138

142139

143-
@pytest.mark.asyncio
144140
async def test_retries_on_exception(tool_config):
145141
from nat.plugins.langchain.tools.exa_internet_search import exa_internet_search
146142

0 commit comments

Comments
 (0)