|
|
c50645 |
From eba004c1992ca7e21abb8af55ecd913f5ae0bdc6 Mon Sep 17 00:00:00 2001
|
|
|
aeb3a2 |
From: Simon Pichugin <spichugi@redhat.com>
|
|
|
c50645 |
Date: Wed, 4 Jan 2023 15:30:15 -0800
|
|
|
aeb3a2 |
Subject: [PATCH] Disable openldap-servers tests
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
---
|
|
|
aeb3a2 |
Tests/t_bind.py | 1 +
|
|
|
aeb3a2 |
Tests/t_cext.py | 1 +
|
|
|
aeb3a2 |
Tests/t_edit.py | 1 +
|
|
|
aeb3a2 |
Tests/t_ldap_options.py | 1 +
|
|
|
aeb3a2 |
Tests/t_ldap_sasl.py | 1 +
|
|
|
aeb3a2 |
Tests/t_ldap_schema_subentry.py | 1 +
|
|
|
aeb3a2 |
Tests/t_ldap_syncrepl.py | 2 ++
|
|
|
aeb3a2 |
Tests/t_ldapobject.py | 1 +
|
|
|
aeb3a2 |
Tests/t_slapdobject.py | 1 +
|
|
|
aeb3a2 |
9 files changed, 10 insertions(+)
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
diff --git a/Tests/t_bind.py b/Tests/t_bind.py
|
|
|
c50645 |
index ba90c4c..653b871 100644
|
|
|
aeb3a2 |
--- a/Tests/t_bind.py
|
|
|
aeb3a2 |
+++ b/Tests/t_bind.py
|
|
|
c50645 |
@@ -9,6 +9,7 @@ from ldap.ldapobject import LDAPObject
|
|
|
aeb3a2 |
from slapdtest import SlapdTestCase
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
class TestBinds(SlapdTestCase):
|
|
|
aeb3a2 |
unicode_val = "abc\U0001f498def"
|
|
|
aeb3a2 |
unicode_val_bytes = unicode_val.encode('utf-8')
|
|
|
aeb3a2 |
diff --git a/Tests/t_cext.py b/Tests/t_cext.py
|
|
|
c50645 |
index 33fbf29..8035354 100644
|
|
|
aeb3a2 |
--- a/Tests/t_cext.py
|
|
|
aeb3a2 |
+++ b/Tests/t_cext.py
|
|
|
c50645 |
@@ -17,6 +17,7 @@ import _ldap
|
|
|
aeb3a2 |
from slapdtest import SlapdTestCase, requires_tls, requires_init_fd
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
class TestLdapCExtension(SlapdTestCase):
|
|
|
aeb3a2 |
"""
|
|
|
aeb3a2 |
These tests apply only to the _ldap module and therefore bypass the
|
|
|
aeb3a2 |
diff --git a/Tests/t_edit.py b/Tests/t_edit.py
|
|
|
c50645 |
index 5d8b3f0..757de9d 100644
|
|
|
aeb3a2 |
--- a/Tests/t_edit.py
|
|
|
aeb3a2 |
+++ b/Tests/t_edit.py
|
|
|
c50645 |
@@ -9,6 +9,7 @@ from ldap.ldapobject import LDAPObject
|
|
|
aeb3a2 |
from slapdtest import SlapdTestCase
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
class EditionTests(SlapdTestCase):
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
@classmethod
|
|
|
aeb3a2 |
diff --git a/Tests/t_ldap_options.py b/Tests/t_ldap_options.py
|
|
|
c50645 |
index e9bef59..2fea7a3 100644
|
|
|
aeb3a2 |
--- a/Tests/t_ldap_options.py
|
|
|
aeb3a2 |
+++ b/Tests/t_ldap_options.py
|
|
|
aeb3a2 |
@@ -135,6 +135,7 @@ class TestGlobalOptions(BaseTestOptions, unittest.TestCase):
|
|
|
aeb3a2 |
return ldap.set_option(option, value)
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
class TestLDAPObjectOptions(BaseTestOptions, SlapdTestCase):
|
|
|
aeb3a2 |
"""Test setting/getting connection-specific options
|
|
|
aeb3a2 |
"""
|
|
|
aeb3a2 |
diff --git a/Tests/t_ldap_sasl.py b/Tests/t_ldap_sasl.py
|
|
|
c50645 |
index 40ab27e..ef6aec0 100644
|
|
|
aeb3a2 |
--- a/Tests/t_ldap_sasl.py
|
|
|
aeb3a2 |
+++ b/Tests/t_ldap_sasl.py
|
|
|
c50645 |
@@ -37,6 +37,7 @@ cn: {certuser}
|
|
|
aeb3a2 |
"""
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
@requires_sasl()
|
|
|
aeb3a2 |
class TestSasl(SlapdTestCase):
|
|
|
aeb3a2 |
ldap_object_class = SimpleLDAPObject
|
|
|
aeb3a2 |
diff --git a/Tests/t_ldap_schema_subentry.py b/Tests/t_ldap_schema_subentry.py
|
|
|
c50645 |
index 60a584d..691fc5b 100644
|
|
|
aeb3a2 |
--- a/Tests/t_ldap_schema_subentry.py
|
|
|
aeb3a2 |
+++ b/Tests/t_ldap_schema_subentry.py
|
|
|
c50645 |
@@ -236,6 +236,7 @@ class TestAttributes(unittest.TestCase):
|
|
|
aeb3a2 |
self.assertEqual(cls.x_origin, ('RFC 4519',))
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
class TestSubschemaUrlfetchSlapd(SlapdTestCase):
|
|
|
aeb3a2 |
ldap_object_class = SimpleLDAPObject
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
diff --git a/Tests/t_ldap_syncrepl.py b/Tests/t_ldap_syncrepl.py
|
|
|
c50645 |
index 6acc82c..7e54830 100644
|
|
|
aeb3a2 |
--- a/Tests/t_ldap_syncrepl.py
|
|
|
aeb3a2 |
+++ b/Tests/t_ldap_syncrepl.py
|
|
|
c50645 |
@@ -265,6 +265,7 @@ class SyncreplClient(SimpleLDAPObject, SyncreplConsumer):
|
|
|
aeb3a2 |
pass
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
c50645 |
class BaseSyncreplTests:
|
|
|
aeb3a2 |
"""
|
|
|
aeb3a2 |
This is a test of all the basic Syncrepl operations. It covers starting a
|
|
|
c50645 |
@@ -430,6 +431,7 @@ class BaseSyncreplTests:
|
|
|
aeb3a2 |
# should pick it up during the persist phase.
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
class TestSyncrepl(BaseSyncreplTests, SlapdTestCase):
|
|
|
aeb3a2 |
def setUp(self):
|
|
|
c50645 |
super().setUp()
|
|
|
aeb3a2 |
diff --git a/Tests/t_ldapobject.py b/Tests/t_ldapobject.py
|
|
|
c50645 |
index ccc7d21..dc7a4b8 100644
|
|
|
aeb3a2 |
--- a/Tests/t_ldapobject.py
|
|
|
aeb3a2 |
+++ b/Tests/t_ldapobject.py
|
|
|
c50645 |
@@ -88,6 +88,7 @@ olcObjectClasses: ( 1.3.6.1.4.1.56207.1.2.2 NAME 'myClass'
|
|
|
c50645 |
X-ORIGIN 'foobar' )"""
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
class Test00_SimpleLDAPObject(SlapdTestCase):
|
|
|
aeb3a2 |
"""
|
|
|
aeb3a2 |
test LDAP search operations
|
|
|
aeb3a2 |
diff --git a/Tests/t_slapdobject.py b/Tests/t_slapdobject.py
|
|
|
aeb3a2 |
index e1cc971..c9b693d 100644
|
|
|
aeb3a2 |
--- a/Tests/t_slapdobject.py
|
|
|
aeb3a2 |
+++ b/Tests/t_slapdobject.py
|
|
|
aeb3a2 |
@@ -3,6 +3,7 @@ import unittest
|
|
|
aeb3a2 |
import slapdtest
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
|
|
|
aeb3a2 |
+@unittest.skip("openldap-server package is absent")
|
|
|
aeb3a2 |
class TestSlapdObject(unittest.TestCase):
|
|
|
aeb3a2 |
def test_context_manager(self):
|
|
|
aeb3a2 |
with slapdtest.SlapdObject() as server:
|
|
|
aeb3a2 |
--
|
|
|
c50645 |
2.38.1
|
|
|
aeb3a2 |
|