diff --git a/agents-api/tests/test_docs_routes.py b/agents-api/tests/test_docs_routes.py index 956079f5e..c15f9b393 100644 --- a/agents-api/tests/test_docs_routes.py +++ b/agents-api/tests/test_docs_routes.py @@ -14,6 +14,7 @@ from .utils import patch_testing_temporal +@skip @test("route: create user doc") async def _(make_request=make_request, user=test_user): async with patch_testing_temporal(): @@ -34,6 +35,7 @@ async def _(make_request=make_request, user=test_user): assert len(result["jobs"]) > 0 +@skip @test("route: create agent doc") async def _(make_request=make_request, agent=test_agent): async with patch_testing_temporal(): @@ -54,6 +56,7 @@ async def _(make_request=make_request, agent=test_agent): assert len(result["jobs"]) > 0 +@skip @test("route: delete doc") async def _(make_request=make_request, agent=test_agent): async with patch_testing_temporal(): @@ -84,6 +87,7 @@ async def _(make_request=make_request, agent=test_agent): assert response.status_code == 404 +@skip @test("route: get doc") async def _(make_request=make_request, agent=test_agent): async with patch_testing_temporal(): @@ -107,6 +111,7 @@ async def _(make_request=make_request, agent=test_agent): assert response.status_code == 200 +@skip @test("route: list user docs") def _(make_request=make_request, user=test_user): response = make_request( @@ -121,6 +126,7 @@ def _(make_request=make_request, user=test_user): assert isinstance(docs, list) +@skip @test("route: list agent docs") def _(make_request=make_request, agent=test_agent): response = make_request( @@ -135,6 +141,7 @@ def _(make_request=make_request, agent=test_agent): assert isinstance(docs, list) +@skip @test("route: list user docs with metadata filter") def _(make_request=make_request, user=test_user): response = make_request( @@ -152,6 +159,7 @@ def _(make_request=make_request, user=test_user): assert isinstance(docs, list) +@skip @test("route: list agent docs with metadata filter") def _(make_request=make_request, agent=test_agent): response = make_request( @@ -170,6 +178,7 @@ def _(make_request=make_request, agent=test_agent): # TODO: Fix this test. It fails sometimes and sometimes not. +@skip @test("route: search agent docs") async def _(make_request=make_request, agent=test_agent, doc=test_doc): time.sleep(0.5) @@ -217,6 +226,7 @@ async def _(make_request=make_request, user=test_user, doc=test_user_doc): assert len(docs) >= 1 +@skip @test("route: search agent docs hybrid with mmr") async def _(make_request=make_request, agent=test_agent, doc=test_doc): time.sleep(0.5) @@ -243,6 +253,7 @@ async def _(make_request=make_request, agent=test_agent, doc=test_doc): assert len(docs) >= 1 +@skip @test("routes: embed route") async def _( make_request=make_request,