Files
freeipa/ipatests
Florence Blanc-Renaud 11e40336c5 test_xmlrpc: fix TestAutomemberFindOrphans.test_find_orphan_automember_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
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-07-30 09:39:06 +02:00
..
2019-07-16 13:23:21 +03:00
2013-06-17 19:22:50 +02:00
2019-07-16 13:23:21 +03:00
2015-10-22 18:34:46 +02:00
2019-07-16 13:23:21 +03:00
2016-10-20 18:43:37 +02:00
2019-07-16 13:23:21 +03:00