diff --git a/dev-python/ldap3/ldap3-2.9.1.ebuild b/dev-python/ldap3/ldap3-2.9.1.ebuild index 70f15ed8be454..3a2fbc9938383 100644 --- a/dev-python/ldap3/ldap3-2.9.1.ebuild +++ b/dev-python/ldap3/ldap3-2.9.1.ebuild @@ -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 +}