Commit Graph

30 Commits

Author SHA1 Message Date
Pedro Castillo 602a078faa Add rotate-admin-password functional test
Add a functional test that verifies the rotate-admin-password action
in the keystone charm.

Relevant patch in the charm-keystone repo:
https://review.opendev.org/c/openstack/charm-keystone/+/832665
2022-03-15 01:53:17 +00:00
Liam Young 24fbc068c9 Correct args to block_until_ca_exists 2021-01-24 15:27:06 +00:00
Liam Young a20733cd14 Refactor ca functions 2021-01-24 14:31:29 +00:00
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
Liam Young 59b6c1bd35 Merge pull request #341 from openstack-charmers/lourot/keystone
Minor improvements to keystone tests
2020-07-16 13:26:09 +01:00
Liam Young 8f44ab681a Add wait_for_cacert
wait_for_cacert will wait for keystone to recieve and install
a cacert. This is particularly useful when the certificate
issuer is in a different model.
2020-07-07 09:03:36 +00:00
Aurelien Lourot fe54ebeb98 Minor improvements to keystone tests 2020-07-02 12:11:23 +02:00
David Ames 3f008fc42d Merge pull request #302 from coreycb/add-tempest-support-corey
Add tempest support
2020-06-10 08:33:18 -07:00
Corey Bryant 4e993e4251 Move add_tempest_roles to keystone setup.py 2020-06-05 19:42:25 +00: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
Alex Kavanagh b1e6beb919 Further work to get keystone specific test to work 2019-09-25 14:43:10 +01:00
Liam Young cb6df2f689 Allow test to override application name
Allow tests to override the default application name as it may not
match what is in the tests.yaml, particularly in the case of CMR
tests.
2019-07-03 06:49:54 +01:00
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00