@@ -62,7 +62,7 @@ def test_store_getter_provides_access_to_store(self, base_store: Store) -> None:
6262
6363
6464class TestHealthEndpoint :
65- """Tests for the /health endpoint behavior."""
65+ """Tests for the /lean/v0/ health endpoint behavior."""
6666
6767 def test_returns_healthy_status_json (self ) -> None :
6868 """Health endpoint returns JSON with healthy status."""
@@ -75,7 +75,7 @@ async def run_test() -> None:
7575
7676 try :
7777 async with httpx .AsyncClient () as client :
78- response = await client .get ("http://127.0.0.1:15052/health" )
78+ response = await client .get ("http://127.0.0.1:15052/lean/v0/ health" )
7979
8080 assert response .status_code == 200
8181 data = response .json ()
@@ -90,7 +90,7 @@ async def run_test() -> None:
9090
9191
9292class TestFinalizedStateEndpoint :
93- """Tests for the /lean/states/finalized endpoint behavior."""
93+ """Tests for the /lean/v0/ states/finalized endpoint behavior."""
9494
9595 def test_returns_503_when_store_not_initialized (self ) -> None :
9696 """Endpoint returns 503 Service Unavailable when store is not set."""
@@ -103,7 +103,7 @@ async def run_test() -> None:
103103
104104 try :
105105 async with httpx .AsyncClient () as client :
106- response = await client .get ("http://127.0.0.1:15054/lean/states/finalized" )
106+ response = await client .get ("http://127.0.0.1:15054/lean/v0/ states/finalized" )
107107
108108 assert response .status_code == 503
109109
@@ -124,7 +124,7 @@ async def run_test() -> None:
124124
125125 try :
126126 async with httpx .AsyncClient () as client :
127- response = await client .get ("http://127.0.0.1:15056/lean/states/finalized" )
127+ response = await client .get ("http://127.0.0.1:15056/lean/v0/ states/finalized" )
128128
129129 assert response .status_code == 200
130130 assert response .headers ["content-type" ] == "application/octet-stream"
@@ -143,7 +143,7 @@ async def run_test() -> None:
143143
144144
145145class TestJustifiedEndpoint :
146- """Tests for the /lean/states/justified endpoint behavior."""
146+ """Tests for the /lean/v0/ states/justified endpoint behavior."""
147147
148148 def test_returns_503_when_store_not_initialized (self ) -> None :
149149 """Endpoint returns 503 Service Unavailable when store is not set."""
@@ -156,7 +156,7 @@ async def run_test() -> None:
156156
157157 try :
158158 async with httpx .AsyncClient () as client :
159- response = await client .get ("http://127.0.0.1:15057/lean/states/justified" )
159+ response = await client .get ("http://127.0.0.1:15057/lean/v0/ states/justified" )
160160
161161 assert response .status_code == 503
162162
@@ -177,7 +177,7 @@ async def run_test() -> None:
177177
178178 try :
179179 async with httpx .AsyncClient () as client :
180- response = await client .get ("http://127.0.0.1:15058/lean/states/justified" )
180+ response = await client .get ("http://127.0.0.1:15058/lean/v0/ states/justified" )
181181
182182 assert response .status_code == 200
183183 assert "application/json" in response .headers ["content-type" ]
0 commit comments