diff options
| author | Ivan Kolodyazhny <e0ne@e0ne.info> | 2020-04-10 17:15:39 +0300 |
|---|---|---|
| committer | Akihiro Motoki <amotoki@gmail.com> | 2020-04-23 11:43:12 +0900 |
| commit | ee6fa9a2454332dfd9db16064144720c77d84662 (patch) | |
| tree | 737363aa68e34e45708c4084296bdadd364bdd85 /openstack_auth/tests | |
| parent | 50837618bdbc4ee18ba25da00a4d98cae9744d68 (diff) | |
| download | horizon-ee6fa9a2454332dfd9db16064144720c77d84662.tar.gz | |
Remove Keystone v2 related code
Kyestone V2 support was removed in Train, so it's safe to do such cleanup.
* Functions which just return horizon settings are dropped and
the settings are referred directly now.
* The service catalog in the sample test data is updated to match
the format of the keystone API v3.
* Related to the above change of the sample service catalog,
openstack_dashboard.test.unit.api.test_keystone.ServiceAPITests is
updated to specify the region name explicitly because 'RegionTwo'
endpoint is no longer the second entry of the endpoint list in the
keystone API v3.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ib60f360c96341fa5c618595f4a9bfdfe7ec5ae83
Diffstat (limited to 'openstack_auth/tests')
| -rw-r--r-- | openstack_auth/tests/unit/test_auth.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/openstack_auth/tests/unit/test_auth.py b/openstack_auth/tests/unit/test_auth.py index bb663042e..6246b0953 100644 --- a/openstack_auth/tests/unit/test_auth.py +++ b/openstack_auth/tests/unit/test_auth.py @@ -967,7 +967,6 @@ class OpenStackAuthTestsWebSSO(OpenStackAuthTestsMixin, test.TestCase): (settings.OPENSTACK_KEYSTONE_URL, protocol, origin)) url = reverse('login') - # POST to the page and redirect to keystone. response = self.client.get(url) self.assertRedirects(response, redirect_url, status_code=302, |
