freeipa/ipatests
Florence Blanc-Renaud 333784034e XML RPC test: fix test_automember_plugin
With 389-DS 1.4.0.21, automember plugin also gets triggered on modify ops
by default. This means that a member manually removed gets automatically
re-added by the plugin.
This behavior can be disabled by setting autoMemberProcessModifyOps=off in
the entry cn=Auto Membership Plugin,cn=plugins,cn=config.

Before 389-DS 1.4.0.21, it was possible to remove a member and the member
did not get re-added (unless automember-rebuild was called). This former
behavior can be forced by setting autoMemberProcessModifyOps=off.

This commit fixes the test and checks the behavior when
autoMemberProcessModifyOps=off and when autoMemberProcessModifyOps=on.

Fixes: https://pagure.io/freeipa/issue/7855
Reviewed-By: Michal Polovka <mpolovka@redhat.com>
2019-03-20 17:45:00 +01:00
..
man Replace ntpd with chronyd in installation 2018-04-09 11:00:02 -04:00
prci_definitions ipatests: add too-restritive mask tests 2019-03-13 16:09:24 +01:00
pytest_ipa Add ldapmodify/search helper functions 2019-02-05 08:39:13 -05:00
test_cmdline Test: add new tests for ipa-crlgen-manage 2019-03-14 09:39:55 +01:00
test_install Use new LDAPClient constructors 2019-02-05 08:39:13 -05:00
test_integration Test: add new tests for ipa-crlgen-manage 2019-03-14 09:39:55 +01:00
test_ipaclient Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_ipalib Check pager's executable before subprocess.Popen 2018-12-07 14:06:29 +01:00
test_ipaplatform Don't configure KEYRING ccache in containers 2019-01-18 11:33:11 +01:00
test_ipapython ipatests: remove all occurrences of osinfo.version_id 2019-03-01 08:38:11 +01:00
test_ipaserver ipatests: add test for correct modlist when value encoding differs 2019-02-12 11:07:19 +01:00
test_webui WebUI test: Fix automember tests according to new behavior 2019-03-20 11:33:50 +01:00
test_xmlrpc XML RPC test: fix test_automember_plugin 2019-03-20 17:45:00 +01:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py Make conftest compatible with pytest 4.x 2019-01-08 17:25:56 +01:00
create_external_ca.py Py3: Replace six.text_type with str 2018-09-27 16:11:18 +02:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
ipa-run-tests Fix compatibility with latest pytest 2018-03-23 13:08:39 +01:00
ipa-test-config Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
ipa-test-task Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
Makefile.am Build: fix distribution of static files for web UI 2016-11-09 13:08:32 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_util.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
util.py Fix Module 'pytest' has no 'config' member 2018-11-13 13:37:58 +01:00