(login, hosts=('example.com',))
| 18 | |
| 19 | |
| 20 | def _record(login, hosts=('example.com',)): |
| 21 | rec = vault.PasswordRecord() |
| 22 | rec.login = login |
| 23 | rec.custom.append(vault.CustomField.new_field('cmdr:private_key', _private_key_pem())) |
| 24 | for h in hosts: |
| 25 | rec.custom.append(vault.CustomField.new_field('cmdr:host', h)) |
| 26 | return rec |
| 27 | |
| 28 | |
| 29 | class _FakeChild: |
no test coverage detected