@@ -19,7 +19,7 @@ async def test_skills_resource():
1919 assert result .data
2020
2121
22- @pytest .mark .skip ( reason = "this test is very slow" )
22+ @pytest .mark .slow
2323@pytest .mark .asyncio
2424async def test_update_index ():
2525 """Test the update_index tool."""
@@ -29,6 +29,7 @@ async def test_update_index():
2929 assert result .data
3030
3131
32+ @pytest .mark .slow
3233@pytest .mark .asyncio
3334async def test_list_projects ():
3435 """Test that all projects are listed correctly."""
@@ -40,6 +41,7 @@ async def test_list_projects():
4041 assert "panel" in result .data
4142
4243
44+ @pytest .mark .slow
4345@pytest .mark .asyncio
4446async def test_semantic_search ():
4547 """Test the search tool."""
@@ -63,6 +65,7 @@ async def test_semantic_search():
6365 assert "content" in document
6466
6567
68+ @pytest .mark .slow
6669@pytest .mark .asyncio
6770async def test_search_by_project ():
6871 """Test the search tool with project filtering."""
@@ -78,6 +81,7 @@ async def test_search_by_project():
7881 assert document ["project" ] == "hvplot"
7982
8083
84+ @pytest .mark .slow
8185@pytest .mark .asyncio
8286async def test_search_with_custom_max_results ():
8387 """Test the search tool with custom max_results parameter."""
@@ -95,6 +99,7 @@ async def test_search_with_custom_max_results():
9599 assert document ["project" ] == "panel"
96100
97101
102+ @pytest .mark .slow
98103@pytest .mark .asyncio
99104async def test_search_without_content ():
100105 """Test the search tool with content=False for metadata only."""
@@ -116,6 +121,7 @@ async def test_search_without_content():
116121 assert document .get ("content" ) is None
117122
118123
124+ @pytest .mark .slow
119125@pytest .mark .asyncio
120126async def test_search_material_ui_specific ():
121127 """Test the search tool with Material UI specific query."""
@@ -131,6 +137,7 @@ async def test_search_material_ui_specific():
131137 assert document ["project" ] == "panel-material-ui"
132138
133139
140+ @pytest .mark .slow
134141@pytest .mark .asyncio
135142async def test_search_empty_query ():
136143 """Test the search tool with edge cases."""
@@ -142,6 +149,7 @@ async def test_search_empty_query():
142149 assert isinstance (result .data , list )
143150
144151
152+ @pytest .mark .slow
145153@pytest .mark .asyncio
146154async def test_search_invalid_project ():
147155 """Test the search tool with invalid project name."""
@@ -154,6 +162,7 @@ async def test_search_invalid_project():
154162 assert len (result .data ) == 0
155163
156164
165+ @pytest .mark .slow
157166@pytest .mark .asyncio
158167async def test_search_with_project_filter ():
159168 """Test the search tool with project filtering."""
0 commit comments