From 06c51ce361a1399d5201e1e98edfd017de2e5fd1 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Fri, 21 Feb 2020 13:21:38 +0100 Subject: [PATCH] Fixes wrong test --- test/common/unit/test_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/unit/test_tools.py b/test/common/unit/test_tools.py index b4d2ad4..8b613ae 100644 --- a/test/common/unit/test_tools.py +++ b/test/common/unit/test_tools.py @@ -46,7 +46,7 @@ def test_check_locator_format(): get_random_value_hex(LOCATOR_LEN_BYTES - 1), ] for wtype in wrong_inputs: - assert check_sha256_hex_format(wtype) is False + assert check_locator_format(wtype) is False for _ in range(100): assert check_locator_format(get_random_value_hex(LOCATOR_LEN_BYTES)) is True