#1107382 django-python3-ldap: autopkgtest missing "needs-internet" restriction

#1107382#5
Date:
2025-06-06 16:12:54 UTC
From:
To:
Dear Maintainer,

The autopkgtest of django-python3-ldap on riscv64 in testing passes on
some hosts and fails on others, independent of which packages are
pinned:

https://ci.debian.net/packages/d/django-python3-ldap/testing/riscv64/

I reported this in #debian-release, and elbrus identified that it looks
like the test connects to an external LDAP server:

https://sources.debian.org/src/django-python3-ldap/0.15.8-1/tests/django_python3_ldap_test/settings.py/#L32

If this is accurate, the test needs the "needs-internet" restriction.

debian/tests/control installs the slapd package, so I assume it was
intended to use a local LDAP server; is that actually used?

thanks,
Ryan