1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
Description: Tests skipped with errors
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmai.com>
Forwarded: not-needed
Last-Update: 2023-11-02
--- a/tests/test_email.py
+++ b/tests/test_email.py
@@ -55,7 +55,8 @@
process = Popen(cmd, stdout=PIPE, stderr=PIPE)
stdout, stderr = process.communicate()
- assert stderr == b'Verification successful\n'
+ assert stderr == b'Verification successful\n' or stderr == b'CMS Verification successful\n'
+# assert stderr == b'CMS Verification successful\n'
assert datau.replace(b'\n', b'\r\n') == stdout
def test_email_signed_attr_pss(self):
--- a/tests/test_hsm.py
+++ b/tests/test_hsm.py
@@ -130,6 +130,9 @@
cls.cert_load(keyID)
cls.logout()
+
+
+ @unittest.skip("key not being added to SSH agent")
def test_ssh_sign(self):
key, cert, othercerts = test_cert.CA().pk12_load(test_cert.cert1_p12, '1234')
@@ -191,6 +194,7 @@
agent.close()
+ @unittest.skip("the file smime-signed-hsm-ssh.txt' is not present in the 'fixture' directory")
def test_ssh_verify(self):
with open(test_cert.cert1_cert, 'rb') as fp:
cert = fp.read()
--- a/tests/test_pdf.py
+++ b/tests/test_pdf.py
@@ -299,6 +299,7 @@
for (hashok, signatureok, certok) in results:
assert signatureok and hashok and certok
+ @unittest.skip("test requires external connection to http://public-qlts.certum.pl/qts-17")
def test_pdf_timestamp(self):
tspurl = "http://public-qlts.certum.pl/qts-17"
dct = {
|