@@ -33,7 +33,6 @@ async def client(self):
3333 yield client
3434 await client .close ()
3535
36-
3736 def test_keypair (self ):
3837 """Generate a test keypair for operations."""
3938 return Keypair ()
@@ -157,15 +156,13 @@ async def test_agent_search_operations(self, client, test_keypair):
157156class TestDevnetMcpOperations :
158157 """Integration tests for MCP server operations on devnet."""
159158
160-
161159 @pytest_asyncio .fixture (scope = "class" )
162160 async def client (self ):
163161 """Create a client for devnet testing."""
164162 client = SolanaAIRegistriesClient (rpc_url = DEFAULT_DEVNET_RPC )
165163 yield client
166164 await client .close ()
167165
168-
169166 def test_keypair (self ):
170167 """Generate a test keypair for operations."""
171168 return Keypair ()
@@ -258,7 +255,9 @@ async def test_mcp_server_search_operations(self, client, test_keypair):
258255 name = f"Search MCP Server { i } " ,
259256 endpoint_url = f"https://mcp{ i } .test.example.com" ,
260257 description = f"MCP server { i } for search testing" ,
261- capabilities = McpCapabilities (supports_tools = True , supports_resources = (i == 0 )),
258+ capabilities = McpCapabilities (
259+ supports_tools = True , supports_resources = (i == 0 )
260+ ),
262261 tags = ["search" , "mcp" , f"server{ i } " ],
263262 )
264263
@@ -289,20 +288,17 @@ async def test_mcp_server_search_operations(self, client, test_keypair):
289288class TestDevnetPaymentOperations :
290289 """Integration tests for payment operations on devnet."""
291290
292-
293291 @pytest_asyncio .fixture (scope = "class" )
294292 async def client (self ):
295293 """Create a client for devnet testing."""
296294 client = SolanaAIRegistriesClient (rpc_url = DEFAULT_DEVNET_RPC )
297295 yield client
298296 await client .close ()
299297
300-
301298 def test_payer (self ):
302299 """Generate a test payer keypair."""
303300 return Keypair ()
304301
305-
306302 def test_payee (self ):
307303 """Generate a test payee keypair."""
308304 return Keypair ()
@@ -370,15 +366,13 @@ async def test_streaming_payment_simulation(self, client, test_payer, test_payee
370366class TestDevnetClientOperations :
371367 """Integration tests for low-level client operations."""
372368
373-
374369 @pytest_asyncio .fixture (scope = "class" )
375370 async def client (self ):
376371 """Create a client for devnet testing."""
377372 client = SolanaAIRegistriesClient (rpc_url = DEFAULT_DEVNET_RPC )
378373 yield client
379374 await client .close ()
380375
381-
382376 def test_keypair (self ):
383377 """Generate a test keypair."""
384378 return Keypair ()
@@ -474,7 +468,6 @@ async def test_account_info_retrieval(self, client):
474468class TestDevnetEndToEndScenarios :
475469 """End-to-end integration test scenarios."""
476470
477-
478471 @pytest_asyncio .fixture (scope = "class" )
479472 async def client (self ):
480473 """Create a client for devnet testing."""
@@ -514,7 +507,9 @@ async def test_complete_ecosystem_flow(self, client):
514507 name = "Ecosystem Test MCP Server" ,
515508 endpoint_url = "https://eco-mcp.test.example.com" ,
516509 description = "MCP server for ecosystem testing" ,
517- capabilities = McpCapabilities (supports_tools = True , supports_resources = True ),
510+ capabilities = McpCapabilities (
511+ supports_tools = True , supports_resources = True
512+ ),
518513 tags = ["ecosystem" , "test" ],
519514 )
520515 print (f"MCP server registered: { mcp_sig } " )
0 commit comments