Code quality fixes
This commit is contained in:
parent
8e95279906
commit
b3c5900eb3
|
@ -33,7 +33,9 @@ class TestECC(unittest.TestCase):
|
||||||
|
|
||||||
def test_short_keys(self):
|
def test_short_keys(self):
|
||||||
"""Check formatting of the keys with leading zeroes"""
|
"""Check formatting of the keys with leading zeroes"""
|
||||||
|
# pylint: disable=protected-access
|
||||||
def sample_key(_):
|
def sample_key(_):
|
||||||
|
"""Fake ECC keypair"""
|
||||||
return os.urandom(32), os.urandom(31), os.urandom(30)
|
return os.urandom(32), os.urandom(31), os.urandom(30)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Reference in New Issue
Block a user