@@ -76,7 +76,7 @@ def test_multikey_set_public_key_with_ed25519():
7676 multikey = Multikey (id = "did:example:123#key-1" , controller = "did:example:123" )
7777
7878 # Set the public key
79- multikey .set_public_key = public_key
79+ multikey .public_key = public_key
8080
8181 # Check that the multibase representation was set
8282 assert multikey .public_key_multibase is not None
@@ -99,7 +99,7 @@ def test_multikey_set_public_key_with_rsa():
9999 multikey = Multikey (id = "did:example:123#key-1" , controller = "did:example:123" )
100100
101101 # Set the public key
102- multikey .set_public_key = public_key
102+ multikey .public_key = public_key
103103
104104 # Check that the multibase representation was set
105105 assert multikey .public_key_multibase is not None
@@ -118,7 +118,7 @@ def test_multikey_set_public_key_with_private_key():
118118 multikey = Multikey (id = "did:example:123#key-1" , controller = "did:example:123" )
119119
120120 # Set the public key using the private key (should extract the public key)
121- multikey .set_public_key = private_key
121+ multikey .public_key = private_key
122122
123123 # Check that the multibase representation was set
124124 assert multikey .public_key_multibase is not None
@@ -137,7 +137,7 @@ def test_multikey_set_private_key():
137137 multikey = Multikey (id = "did:example:123#key-1" , controller = "did:example:123" )
138138
139139 # Set the private key
140- multikey .set_private_key = private_key
140+ multikey .private_key = private_key
141141
142142 # Check that the multibase representation was set
143143 assert multikey .secret_key_multibase is not None
0 commit comments