Skip to content

Commit 85383da

Browse files
committed
Add docstring
1 parent d25515e commit 85383da

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test_app/tests/authentication/authenticator_plugins/test_ldap_get_or_build_user.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
from ansible_base.authentication.authenticator_plugins import ldap
88

99

10+
"""
11+
This module is separated from the rest of test_ldap.py because it reloads the module
12+
which will replace the auth utils module with newly loaded classes.
13+
So it gives best isolation to keep this in a module that does not have
14+
other imports from the same module, which can leave stale references.
15+
"""
16+
17+
1018
@pytest.mark.django_db
1119
@pytest.mark.parametrize(
1220
"username",

0 commit comments

Comments
 (0)