Commit Graph

21 Commits

Author SHA1 Message Date
Liam Young a828774c48 Handle change of CA cert.
Closes issue #487
2021-01-23 16:17:54 +00:00
arif 90aca8be5e Add ldap group/membership tests
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>
2020-11-25 17:04:06 +00:00
Rodrigo Barbieri 7404b0cb9b Update Keystone LDAP tests
- Reversed ldap-config-flags vs charm configs precedence
  for https://review.opendev.org/748364
- Added new functional test to validate the precedence
- Added zaza helper function to assist handling charm configs
  that do not accept "" (like booleans and ints), and reverting
  to unset values through config_change()
- Fixed zaza reset helper function that apparently never
  worked ({}.keys() returns dict_keys which is not a sequence)
2020-11-23 12:33:32 -03:00
Hemanth Nakkina d7893798ca Add new keystone-ldap charm options in LDAP tests
New charm options for keystone-ldap are getting introdcued
as part of bug [1]. Modify the keystone ldap tests to
modify ldap options as per the new charm options.

Add ldap options to verify ldap-config-flags takes precendece
over explicit config flags.

[1] https://bugs.launchpad.net/charm-keystone-ldap/+bug/1832765
2020-10-13 05:26:32 +05:30
Aurelien Lourot fe54ebeb98 Minor improvements to keystone tests 2020-07-02 12:11:23 +02:00
Frode Nordahl cbdb3086a1 keystone: expect security check no admin-token to pass
Also add test to validate that the domain named ``default``
literally has an ID of ``default``.
2020-03-11 10:58:44 +01:00
David Ames 827032b1c6 Standardize preferred-api-version as an int 2020-02-06 13:16:34 -08:00
Adam Dyess 7f82aa3a80 simplify looking for user from keystone 2020-01-29 10:30:27 -06:00
Adam Dyess 51f7f2cfa7 attempt to force ldap tests to use keystone v3 api 2020-01-29 09:17:28 -06:00
Adam Dyess 416c85b08f attempt to force keystone_v3 for ldap tests 2020-01-28 14:03:06 -06:00
Adam Dyess b080f5ff59 config_current doesn't need to flatten values to , but applying config to zaza.model does required all values are strings 2020-01-27 11:46:23 -06:00
Adam Dyess 0614ff5ad6 integrate comments from @thedac to improve waiting for stable, and some documentation issues 2020-01-24 12:59:58 -06:00
Adam Dyess 7063056844 use ':' style argument definitions rather than '@' 2020-01-24 11:23:09 -06:00
Adam Dyess 873b64cde3 improve docstring 2020-01-22 13:25:17 -06:00
Adam Dyess c76b7d423a improved docstrings for ldap tests 2020-01-22 13:20:42 -06:00
Adam Dyess b75aaa79c5 Resolve pep8 violations 2020-01-22 09:33:58 -06:00
Adam Dyess 59b06a956b resolve another suggestion from ajkavanagh 2020-01-22 09:32:17 -06:00
Adam Dyess b4f1201da2 Integrate suggestions from ajkavanagh 2020-01-22 09:30:48 -06:00
Adam Dyess 0c9e00610b wait for keystone to settle also 2020-01-21 14:43:43 -06:00
Adam Dyess ca8e1e9d5b import functional tests keystone-ldap and zaza-ify 2020-01-21 14:23:13 -06:00
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00