Imported from 389ds/389-ds-base (
dirsrvtests/AGENTS.md). Install upstream withnpx skills add 389ds/389-ds-base --skill dirsrvtests. Copyright stays with the author.
Agent notes: dirsrvtests/
Read docs/agents/testing.md first; workflow: the write-test skill (../.agents/skills/write-test/SKILL.md).
- Import topology fixtures from
test389.topologies;lib389.topologiesno longer exists. - Every
test_*-named function undertests/suites/(fixtures and helpers included) needs a:id:UUID unique within that directory; the gate recursively searches it as text, so never copy an ID into a comment or another docstring. - New files follow the repository's
*_test.pyconvention; pytest's defaults also collecttest_*.py. Feature tests setpytestmark = pytest.mark.tier1. - Python 3.8 floor (CI-enforced): no
match, noX | Yunions, no barelist[str]. - Only
tests/suites/runs in CI;stress/,perf/, andtickets/do not. - Cleanup: DEBUGGING-aware finalizers; always pass
request=through tocreate_topology.