File tree Expand file tree Collapse file tree
packages/nvidia_nat_langchain/tests Expand file tree Collapse file tree Original file line number Diff line number Diff 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
9190async 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
103101async 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
127124async 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
144140async def test_retries_on_exception (tool_config ):
145141 from nat .plugins .langchain .tools .exa_internet_search import exa_internet_search
146142
You can’t perform that action at this time.
0 commit comments