MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / capture

Method capture

unit-tests/test_command_register.py:150–156  ·  view source on GitHub ↗
(rq)

Source from the content-addressed store, hash-verified

148 captured = []
149
150 def capture(rq):
151 status = record_pb2.SharedRecordStatus()
152 status.recordUid = rq.recordUid
153 status.status = 'success'
154 status.username = rq.toUsername
155 captured.append(rq)
156 return status
157
158 original = TestRegister.record_share_rq_rs
159 TestRegister.record_share_rq_rs = staticmethod(capture)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected