From 87c2a91f5a4d7eb8b8029bfeeac019aaaa31e8e9 Mon Sep 17 00:00:00 2001 From: vgusev Date: Wed, 5 Oct 2016 15:06:28 +0300 Subject: [PATCH] Fix group filter for Grafana in LDAP tests There was a small mistake in group filter for Grafana in LDAP tests, that's why authorization with admin and viewer credentials failed. This patch solves this issue. Change-Id: If3fbc09af477b4a1c5a6205f48766cb30aad8250 --- stacklight_tests/toolchain/test_ldap_plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacklight_tests/toolchain/test_ldap_plugins.py b/stacklight_tests/toolchain/test_ldap_plugins.py index 4e89eae..f240554 100644 --- a/stacklight_tests/toolchain/test_ldap_plugins.py +++ b/stacklight_tests/toolchain/test_ldap_plugins.py @@ -212,7 +212,7 @@ class TestToolchainLDAP(api.ToolchainApi): "ldap_group_search_base_dns/value": "ou=groups,dc=stacklight,dc=ci", "ldap_group_search_filter/value": - "(&(objectClass=posixGroup)(memberUid=%s)", + "(&(objectClass=posixGroup)(memberUid=%s))", "ldap_admin_group_dn/value": "plugin_admins", "ldap_viewer_group_dn/value": "plugin_viewers" })