mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Revert "[Tests] Disable 7 tests that break due to expired certificate"
This reverts commit 47576382adeea10d5392bd36d1fcc277d6172496.
This commit is contained in:
parent
a8042586f4
commit
0fcb4cc7d5
@ -64,9 +64,6 @@ void TestQgsAuthCertUtils::cleanupTestCase()
|
||||
|
||||
void TestQgsAuthCertUtils::testValidationUtils()
|
||||
{
|
||||
// FIXME
|
||||
QSKIP( "Broken test. See https://github.com/qgis/QGIS/issues/62373", SkipSingle );
|
||||
|
||||
// null cert
|
||||
QSslCertificate cert;
|
||||
QVERIFY( !QgsAuthCertUtils::certIsCurrent( cert ) );
|
||||
|
@ -125,9 +125,6 @@ void TestQgsAuthConfig::testMethodConfig()
|
||||
|
||||
void TestQgsAuthConfig::testPkiBundle()
|
||||
{
|
||||
// FIXME
|
||||
QSKIP( "Broken test. See https://github.com/qgis/QGIS/issues/62373", SkipSingle );
|
||||
|
||||
QgsPkiBundle bundle;
|
||||
QVERIFY( bundle.isNull() );
|
||||
QVERIFY( !bundle.isValid() );
|
||||
|
@ -147,9 +147,6 @@ class TestQgsAuthManager(QgisTestCase):
|
||||
|
||||
def test_040_authorities(self):
|
||||
|
||||
# FIXME
|
||||
self.skipTest("Broken test. See https://github.com/qgis/QGIS/issues/62373")
|
||||
|
||||
def rebuild_caches():
|
||||
m = "Authorities cache could not be rebuilt"
|
||||
self.assertTrue(self.authm.rebuildCaCertsCache(), m)
|
||||
@ -663,9 +660,6 @@ class TestQgsAuthManager(QgisTestCase):
|
||||
def test_150_verify_keychain(self):
|
||||
"""Test the verify keychain function"""
|
||||
|
||||
# FIXME
|
||||
self.skipTest("Broken test. See https://github.com/qgis/QGIS/issues/62373")
|
||||
|
||||
def testChain(path):
|
||||
|
||||
# Test that a chain with an untrusted CA is not valid
|
||||
@ -742,9 +736,6 @@ class TestQgsAuthManager(QgisTestCase):
|
||||
def test_validate_pki_bundle(self):
|
||||
"""Text the pki bundle validation"""
|
||||
|
||||
# FIXME
|
||||
self.skipTest("Broken test. See https://github.com/qgis/QGIS/issues/62373")
|
||||
|
||||
# Valid bundle:
|
||||
bundle = self.mkPEMBundle(
|
||||
"fra_cert.pem", "fra_key.pem", "password", "chain_subissuer-issuer-root.pem"
|
||||
@ -936,9 +927,6 @@ class TestQgsAuthManager(QgisTestCase):
|
||||
def test_160_cert_viable(self):
|
||||
"""Text the viability of a given certificate"""
|
||||
|
||||
# FIXME
|
||||
self.skipTest("Broken test. See https://github.com/qgis/QGIS/issues/62373")
|
||||
|
||||
# null cert
|
||||
cert = QSslCertificate()
|
||||
self.assertFalse(QgsAuthCertUtils.certIsCurrent(cert))
|
||||
@ -968,9 +956,6 @@ class TestQgsAuthManager(QgisTestCase):
|
||||
def test_170_pki_key_encoding(self):
|
||||
"""Test that a DER/PEM RSA/DSA/EC keys can be opened whatever the extension is"""
|
||||
|
||||
# FIXME
|
||||
self.skipTest("Broken test. See https://github.com/qgis/QGIS/issues/62373")
|
||||
|
||||
self.assertFalse(
|
||||
QgsAuthCertUtils.keyFromFile(PKIDATA + "/" + "ptolemy_key.pem").isNull()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user