MCPcopy
hub / github.com/raiden-network/raiden / json

Method json

raiden/tests/unit/test_version_check.py:166–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 class Response:
165 @staticmethod
166 def json():
167 response = """{"message": "API rate limit exceeded for 62.96.232.178. (But here's the
168 good news: Authenticated requests get a higher rate limit. Check out the
169 documentation for more details.)", "documentation_url":
170 "https://developer.github.com/v3/#rate-limiting"}"""
171 return json.loads(response.replace("\n", ""))
172
173 def fake_request(endpoint): # pylint: disable=unused-argument
174 return Response()

Callers 8

channel_detailsFunction · 0.80
mainFunction · 0.80
is_readyFunction · 0.80
wait_for_reachableFunction · 0.80
get_balance_for_nodeFunction · 0.80
_do_check_versionFunction · 0.80
test_api_paymentsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected