Add pubkey tests

This commit is contained in:
NIIBE Yutaka
2016-10-15 16:55:22 +09:00
parent ffa9bf1f94
commit 4de605ed63
4 changed files with 46 additions and 7 deletions

View File

@@ -54,6 +54,7 @@ def test_sex_put(card):
# Gnuk
r = card.cmd_put_data(0x5f, 0x35, b"")
except ValueError:
# OpenPGP card which doesn't allow b""
r = card.cmd_put_data(0x5f, 0x35, b"9")
assert r