MCPcopy Create free account
hub / github.com/StackStorm/st2 / __init__

Method __init__

st2tests/st2tests/api.py:377–380  ·  view source on GitHub ↗
(self, text, status_code, reason)

Source from the content-addressed store, hash-verified

375
376class FakeResponse(object):
377 def __init__(self, text, status_code, reason):
378 self.text = text
379 self.status_code = status_code
380 self.reason = reason
381
382 def json(self):
383 return json.loads(self.text)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected