diff options
| author | Walter Doekes <walter+github@wjd.nu> | 2019-11-01 15:34:41 +0100 |
|---|---|---|
| committer | Akihiro Motoki <amotoki@gmail.com> | 2020-04-29 17:25:01 +0900 |
| commit | 941f64915e825dedc2c58621e8390953bfcc4b7b (patch) | |
| tree | e1f18d611bc44d10b316cd37113c9e51f4f9a24a /openstack_auth/tests | |
| parent | 58ad91595de98a35c87cb73bf3c602fcdfceb933 (diff) | |
| download | horizon-941f64915e825dedc2c58621e8390953bfcc4b7b.tar.gz | |
Give keystoneauth1.ClientException only 1 argument (message)
Change-Id: I970b07e52ed7f2f4440b47800fcb3b6528dce22d
Diffstat (limited to 'openstack_auth/tests')
| -rw-r--r-- | openstack_auth/tests/unit/test_auth.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack_auth/tests/unit/test_auth.py b/openstack_auth/tests/unit/test_auth.py index 6246b0953..98c062d26 100644 --- a/openstack_auth/tests/unit/test_auth.py +++ b/openstack_auth/tests/unit/test_auth.py @@ -1054,7 +1054,8 @@ class OpenStackAuthTestsV3WithMock(test.TestCase): form_data = self.get_form_data(user) url = reverse('login') - mock_get_access.side_effect = keystone_exceptions.ClientException(500) + mock_get_access.side_effect = \ + keystone_exceptions.ClientException('error 500') # GET the page to set the test cookie. response = self.client.get(url, form_data) |
