Fix test: exception message and parameters for PKCS11 has changed
Signed-off-by: INgo Rah <
ingo...@linutronix.de>
diff --git a/tests/test_main.py b/tests/test_main.py
index 6e95308..7846a7d 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -135,10 +135,9 @@ INVALID_SIGNING_TEST_PARAMETERS = [
"CMS requires private key, certificate, an optional password file and an optional file with additional certificates",
),
("RSA,foo,bar,baz", "RSA requires private key and an optional password file"),
- ("PKCS11", "PKCS11 requires URI"),
- ("PKCS11,", "PKCS11 requires URI"),
- ("PKCS11,,", "PKCS11 requires URI"),
- ("PKCS11,foo,", "PKCS11 requires URI"),
+ ("PKCS11", "PKCS11 requires pin and optional parameters such as module path, slot or id"),
+ ("PKCS11,", "PKCS11 requires pin and optional parameters such as module path, slot or id"),
+ ("PKCS11,,", "PKCS11 requires pin and optional parameters such as module path, slot or id"),
("CUSTOM", "CUSTOM requires custom command"),
("CUSTOM,", "CUSTOM requires custom command"),
("CUSTOM,,", "CUSTOM requires custom command"),