diff options
| author | Akihiro Motoki <amotoki@gmail.com> | 2018-11-05 06:20:43 +0900 |
|---|---|---|
| committer | Akihiro Motoki <amotoki@gmail.com> | 2018-11-10 16:44:25 +0900 |
| commit | cebe212d004e7b30a4ca58a1914c2e9ca5fd4788 (patch) | |
| tree | f6f8550585d6798526640e29a4172f8d122ff3f3 /openstack_auth/tests | |
| parent | a3a4b93d328ca7eb692c8c546608477589ecab45 (diff) | |
| download | horizon-cebe212d004e7b30a4ca58a1914c2e9ca5fd4788.tar.gz | |
Bump hacking to 1.1.0
Fix the following new errors:
* E305 expected 2 blank lines after class or function definition, found 1
* E126 continuation line over-indented for hanging indent
max_line_length is set to 80 as the default value in pycodestyle is 79
but horizon uses 80 as max_line_length.
Ignore W504 and F405 by configurations.
Reasons of disabling them are explained as comments in tox.ini.
Change-Id: Iee8bcd60c30883fc8c74f08cf20af853cbb5e271
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 119464d9f..32f575ec4 100644 --- a/openstack_auth/tests/unit/test_auth.py +++ b/openstack_auth/tests/unit/test_auth.py @@ -1266,7 +1266,7 @@ class OpenStackAuthTestsWebSSO(OpenStackAuthTestsMixin, settings.WEBSSO_DEFAULT_REDIRECT = True settings.WEBSSO_DEFAULT_REDIRECT_PROTOCOL = 'oidc' settings.WEBSSO_DEFAULT_REDIRECT_REGION = ( - settings.OPENSTACK_KEYSTONE_URL) + settings.OPENSTACK_KEYSTONE_URL) url = reverse('login') @@ -1286,4 +1286,5 @@ class OpenStackAuthTestsWebSSO(OpenStackAuthTestsMixin, self.assertRedirects(response, settings.WEBSSO_DEFAULT_REDIRECT_LOGOUT, status_code=302, target_status_code=301) + load_tests = load_tests_apply_scenarios |
