freeipa/ipatests/pytest_ipa/integration
Stanislav Levin 24db4dc876 pylint: Fix modified-iterating-list
https://pylint.pycqa.org/en/latest/user_guide/messages/warning/modified-iterating-list.html:
> Emitted when items are added or removed to a list being iterated
through. Doing so can result in unexpected behaviour, that is why it is
preferred to use a copy of the list.

https://docs.python.org/3/tutorial/controlflow.html#for-statements:
> Code that modifies a collection while iterating over that same
collection can be tricky to get right. Instead, it is usually more
straight-forward to loop over a copy of the collection or to create a
new collection

Fixes: https://pagure.io/freeipa/issue/9278
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
2023-01-10 08:30:58 +01:00
..
__init__.py ipatests: collect samba logs when setting up trust to AD 2022-04-13 18:37:12 +02:00
config.py pylint: Fix cyclic-import 2023-01-10 08:30:58 +01:00
create_bridge.py ipatests: add keycloak user login to ipa test 2022-10-20 08:48:53 -04:00
create_caless_pki.py ipatests: use non-ascii chars in CA-less install 2021-06-16 11:25:08 -04:00
create_keycloak.py ipatests: add Keycloak Bridge test 2022-09-20 14:54:04 -04:00
env_config.py Test installation with (fake) userspace FIPS 2019-11-14 16:01:15 +01:00
expect.py ipatests: log command spawned by pexpect 2021-03-29 14:55:23 +03:00
fips.py ipatests: update the fake fips mode expected message 2022-12-19 15:38:05 +01:00
firewall.py pylint: Fix cyclic-import 2023-01-10 08:30:58 +01:00
host.py ipatests: allocate pseudo-terminal only for specific command 2021-03-29 14:55:23 +03:00
resolver.py pylint: Fix cyclic-import 2023-01-10 08:30:58 +01:00
tasks.py pylint: Fix modified-iterating-list 2023-01-10 08:30:58 +01:00
transport.py ipatests: allocate pseudo-terminal only for specific command 2021-03-29 14:55:23 +03:00