New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ldap group/membership tests #438
Add ldap group/membership tests #438
Conversation
This passed with
This is from the test test_102_keystone_ldap_group_membership, maybe requires extra policy changes |
5b8133d
to
012e2d5
Compare
012e2d5
to
9956b80
Compare
9956b80
to
e071025
Compare
Codecov Report
@@ Coverage Diff @@
## master #438 +/- ##
==========================================
- Coverage 18.31% 18.22% -0.10%
==========================================
Files 158 158
Lines 9094 9140 +46
==========================================
Hits 1666 1666
- Misses 7428 7474 +46
Continue to review full report at Codecov.
|
This will conflict and add on to of #458 |
func-smoke: https://paste.ubuntu.com/p/HwdQjqdmc3/ after making the following modifications diff --git a/src/test-requirements.txt b/src/test-requirements.txt
index d3c9be8..3bd6c04 100644
--- a/src/test-requirements.txt
+++ b/src/test-requirements.txt
@@ -5,4 +5,4 @@
#
# Functional Test Requirements (let Zaza's dependencies solve all dependencies here!)
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
-git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
+git+https://github.com/arif-ali/zaza-openstack-tests.git@ldap-groups-membership-tests#egg=zaza.openstack |
e071025
to
fa9eb85
Compare
fa9eb85
to
f390cd1
Compare
f390cd1
to
5860d7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM in general, just a few nitpicks, thanks!
Adds a test to check for groups that are coming from LDAP. Adds a test to ensure that openstack is able to check the membership of a user in the group. Signed-off-by: Arif Ali <arif.ali@canonical.com>
5860d7c
to
90aca8b
Compare
Adding the the group_name_attribute, as this was missed in the previous review. func-test-pr: openstack-charmers/zaza-openstack-tests#438 Depends-On: https://review.opendev.org/c/openstack/charm-keystone-ldap/+/748364 Change-Id: I9fe650704606317b337978ea9d8fec3a09c2b50f
* Update charm-keystone-ldap from branch 'master' to ce279129db48d675797a13695c2d9b5eb0be507e - Add group_name_attribute as a config attribute Adding the the group_name_attribute, as this was missed in the previous review. func-test-pr: openstack-charmers/zaza-openstack-tests#438 Depends-On: https://review.opendev.org/c/openstack/charm-keystone-ldap/+/748364 Change-Id: I9fe650704606317b337978ea9d8fec3a09c2b50f
Adds a test to check for groups that are coming from LDAP.
Adds a test to ensure that openstack is able to check the membership
of a user in the group.
Signed-off-by: Arif Ali arif.ali@canonical.com