Adds missing tool tests

This commit is contained in:
Sergi Delgado Segura
2019-12-16 12:57:28 +01:00
parent bc72496db9
commit b363cc2d94

View File

@@ -9,6 +9,6 @@ def check_sha256_hex_format(value):
value(:mod:`str`): the value to be checked. value(:mod:`str`): the value to be checked.
Returns: Returns:
:mod:`bool`: Wether or not the value matches the format. :mod:`bool`: Whether or not the value matches the format.
""" """
return isinstance(value, str) and re.match(r"^[0-9A-Fa-f]{64}$", value) is not None return isinstance(value, str) and re.match(r"^[0-9A-Fa-f]{64}$", value) is not None