(self, keyring)
| 218 | assert key.userids[0].name == name |
| 219 | |
| 220 | def test_select_keyid(self, keyring): |
| 221 | with keyring.key("37473B3758C44F36") as rsa: |
| 222 | assert rsa.userids[0].name == "RSA von TestKey" |
| 223 | |
| 224 | with keyring.key("2B474BB02084C712") as dsa: |
| 225 | assert dsa.userids[0].name == "DSA von TestKey" |
| 226 | |
| 227 | def test_select_shortid(self, keyring): |
| 228 | with keyring.key("58C44F36") as rsa: |