URL:
https://github.com/freeipa/freeipa/pull/3413
Author: flo-renaud
Title: #3413: test_xmlrpc: fix TestAutomemberFindOrphans.test_find_orphan_automembe…
Action: opened
PR body:
"""
…r_rules
Test scenario:
- create a hostgroup
- create a host
- create an automember rule for the hostgroup with a condition fulfilled
by the host
- delete the hostgroup
- call automember-rebuild (1)
- call automember-find-orphans to remove the orphan automember group
- call automember-rebuild(2)
The test was expecting the first rebuild command to fail but this
assumption is not true if the DS version is >= 1.4.0.22 because of the
fix for
https://pagure.io/389-ds-base/issue/50077
Modify the test so that it expects failure only when DS is older.
Fixes:
https://pagure.io/freeipa/issue/7902
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3413/head:pr3413
git checkout pr3413