Skip to content

Commit 21bfe06

Browse files
committed
ASN.1: squash me: uncomment some temporarily commented test code
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
1 parent f2fcf4b commit 21bfe06

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_asn1_convert.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def tearDown(self):
6363

6464

6565

66-
'''
6766
def baseline_convert_and_encode(self):
6867
"""
6968
Fail if basic pyasn1 functionality is broken.
@@ -213,7 +212,7 @@ def test_to_pyasn1_keys(self):
213212
# Convert them.
214213
ed_pub_pyasn1 = asn1_convert.to_pyasn1(ed_pub, asn1_defs.PublicKey)
215214
rsa_pub_pyasn1 = asn1_convert.to_pyasn1(rsa_pub, asn1_defs.PublicKey)
216-
'''
215+
217216

218217

219218

@@ -289,7 +288,6 @@ def test_to_pyasn1_timestamp_hash_of_snapshot(self):
289288

290289

291290

292-
"""
293291
def test_hash_to_pyasn1(self):
294292
# This doesn't use conversion_check because the hash_to_pyasn1 function
295293
# takes two arguments.
@@ -353,7 +351,7 @@ def test_public_key_to_pyasn1(self):
353351

354352

355353

356-
"""
354+
def conversion_check(self, data, to_asn1_func,
357355
def conversion_check(self, data, func_to_asn1,
358356
func_from_asn1=None, expected_der=None):
359357
"""

0 commit comments

Comments
 (0)