(params, record_uids, *_args, **_kw)
| 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): |
nothing calls this directly
no outgoing calls
no test coverage detected