dev-python/ldap3: Enable (offline) testing

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-05-31 08:06:18 +02:00
parent 88b604fc54
commit 88ed139170

View File

@@ -22,9 +22,15 @@ LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
# tests require a ldap server and extra configuration
RESTRICT="test"
RDEPEND="
>=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}]
"
distutils_enable_tests unittest
python_test() {
# offline testing only
local -x SERVER=NONE
eunittest
}