@@ -19,6 +19,7 @@ async def test_skills_resource():
1919 assert result .data
2020
2121
22+ @pytest .mark .integration
2223@pytest .mark .skip (reason = "this test is very slow" )
2324@pytest .mark .asyncio
2425async def test_update_index ():
@@ -29,6 +30,7 @@ async def test_update_index():
2930 assert result .data
3031
3132
33+ @pytest .mark .integration
3234@pytest .mark .asyncio
3335async def test_list_projects ():
3436 """Test that all projects are listed correctly."""
@@ -40,6 +42,7 @@ async def test_list_projects():
4042 assert "panel" in result .data
4143
4244
45+ @pytest .mark .integration
4346@pytest .mark .asyncio
4447async def test_semantic_search ():
4548 """Test the search tool."""
@@ -63,6 +66,7 @@ async def test_semantic_search():
6366 assert "content" in document
6467
6568
69+ @pytest .mark .integration
6670@pytest .mark .asyncio
6771async def test_search_by_project ():
6872 """Test the search tool with project filtering."""
@@ -78,6 +82,7 @@ async def test_search_by_project():
7882 assert document ["project" ] == "hvplot"
7983
8084
85+ @pytest .mark .integration
8186@pytest .mark .asyncio
8287async def test_search_with_custom_max_results ():
8388 """Test the search tool with custom max_results parameter."""
@@ -95,6 +100,7 @@ async def test_search_with_custom_max_results():
95100 assert document ["project" ] == "panel"
96101
97102
103+ @pytest .mark .integration
98104@pytest .mark .asyncio
99105async def test_search_without_content ():
100106 """Test the search tool with content=False for metadata only."""
@@ -116,6 +122,7 @@ async def test_search_without_content():
116122 assert document .get ("content" ) is None
117123
118124
125+ @pytest .mark .integration
119126@pytest .mark .asyncio
120127async def test_search_material_ui_specific ():
121128 """Test the search tool with Material UI specific query."""
@@ -131,6 +138,7 @@ async def test_search_material_ui_specific():
131138 assert document ["project" ] == "panel-material-ui"
132139
133140
141+ @pytest .mark .integration
134142@pytest .mark .asyncio
135143async def test_search_empty_query ():
136144 """Test the search tool with edge cases."""
@@ -142,6 +150,7 @@ async def test_search_empty_query():
142150 assert isinstance (result .data , list )
143151
144152
153+ @pytest .mark .integration
145154@pytest .mark .asyncio
146155async def test_search_invalid_project ():
147156 """Test the search tool with invalid project name."""
@@ -154,6 +163,7 @@ async def test_search_invalid_project():
154163 assert len (result .data ) == 0
155164
156165
166+ @pytest .mark .integration
157167@pytest .mark .asyncio
158168async def test_search_with_project_filter ():
159169 """Test the search tool with project filtering."""
0 commit comments