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 = {
