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

Method _impl

unit-tests/test_command_register.py:164–174  ·  view source on GitHub ↗
(params, record_uids, *_args, **_kw)

Source from the content-addressed store, hash-verified

162 @staticmethod
163 def _existing_share_response(target_email, *, editable=False, shareable=False):
164 def _impl(params, record_uids, *_args, **_kw):
165 return [{
166 'record_uid': next(iter(record_uids)),
167 'shares': {
168 'user_permissions': [
169 {'username': params.user, 'owner': True},
170 {'username': target_email, 'owner': False,
171 'shareable': shareable, 'editable': editable},
172 ]
173 }
174 }]
175 return _impl
176
177 def test_share_record_rotate_on_expiration_sets_flag(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected