Skip to content

Commit efb6dff

Browse files
committed
test: cover lines in vm validator
Signed-off-by: Daniel Bluhm <[email protected]>
1 parent 92c63b2 commit efb6dff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/test_verification_method.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ def test_validator_allow_missing_controller():
162162
"publicKeyBase58": "12345",
163163
},
164164
)
165+
with pytest.raises(ValueError):
166+
vmethod = VerificationMethod.deserialize(
167+
{
168+
"id": "hi",
169+
"type": "Ed25519Signature2018",
170+
"publicKeyBase58": "12345",
171+
},
172+
)
165173

166174

167175
def test_make():

0 commit comments

Comments
 (0)