MCPcopy Create free account
hub / github.com/DataArcTech/ToG / test_url

Method test_url

ToG/client.py:114–121  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

112
113 def test_connections(self):
114 def test_url(client):
115 try:
116 # Check if server provides the system.listMethods function.
117 client.server.system.listMethods()
118 return True
119 except Exception as e:
120 print(f"Failed to connect to {client.url}. Error: {str(e)}")
121 return False
122
123 start_time = time.perf_counter()
124 futures = [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected