diff options
| author | Radomir Dopieralski <rdopiera@redhat.com> | 2018-10-17 18:44:21 +0200 |
|---|---|---|
| committer | Radomir Dopieralski <openstack@sheep.art.pl> | 2018-10-31 14:49:06 +0100 |
| commit | 1953c689e86ecdf131b4cf176bf4ff47b53493cf (patch) | |
| tree | 5f0241e23afa9d01e87acfd8c762deadbaeb7a2a /openstack_auth/tests | |
| parent | 1217df5984ee4f3dc05de35fbe433c36336fc38a (diff) | |
| download | horizon-1953c689e86ecdf131b4cf176bf4ff47b53493cf.tar.gz | |
Properly calculate auth_url for WEBSSO from POST data
The redirect for WEBSSO takes its data directly from the request's
POST data, and the format of that data has changed, so now we need
to convert it for it to work correctly.
Change-Id: I5b18e555a9bc6b24be1e59465f07e73e99739e22
closes-bug: #1794710
Diffstat (limited to 'openstack_auth/tests')
| -rw-r--r-- | openstack_auth/tests/unit/test_auth.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openstack_auth/tests/unit/test_auth.py b/openstack_auth/tests/unit/test_auth.py index 119464d9f..016956692 100644 --- a/openstack_auth/tests/unit/test_auth.py +++ b/openstack_auth/tests/unit/test_auth.py @@ -1171,7 +1171,7 @@ class OpenStackAuthTestsWebSSO(OpenStackAuthTestsMixin, (settings.OPENSTACK_KEYSTONE_URL, protocol, origin)) form_data = {'auth_type': protocol, - 'region': settings.OPENSTACK_KEYSTONE_URL} + 'region': 'default'} url = reverse('login') # POST to the page and redirect to keystone. @@ -1188,7 +1188,7 @@ class OpenStackAuthTestsWebSSO(OpenStackAuthTestsMixin, protocol, origin)) form_data = {'auth_type': self.idp_oidc_id, - 'region': settings.OPENSTACK_KEYSTONE_URL} + 'region': 'default'} url = reverse('login') # POST to the page and redirect to keystone. @@ -1206,7 +1206,7 @@ class OpenStackAuthTestsWebSSO(OpenStackAuthTestsMixin, protocol, origin)) form_data = {'auth_type': self.idp_oidc_id, - 'region': settings.OPENSTACK_KEYSTONE_URL} + 'region': 'default'} url = reverse('login') # POST to the page and redirect to keystone. |
