diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-04-09 19:11:46 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-04-09 19:11:46 +0000 |
| commit | aa1215a5ad063b299d32ef319eb63d5210249a9b (patch) | |
| tree | 10490d756cfaecd181229007a602382338e4c7df | |
| parent | b978f909014cbc398c21bfae917fcece89a36e38 (diff) | |
| parent | cdfcf3c153ee7860658cf70206c0da81da561bca (diff) | |
| download | python-neutronclient-2.4.0.tar.gz | |
Merge "Fix one remaining E125 error and remove it from ignore list"2.4.0
| -rw-r--r-- | neutronclient/tests/unit/test_cli20.py | 6 | ||||
| -rw-r--r-- | tox.ini | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/neutronclient/tests/unit/test_cli20.py b/neutronclient/tests/unit/test_cli20.py index e943253..1e9fee6 100644 --- a/neutronclient/tests/unit/test_cli20.py +++ b/neutronclient/tests/unit/test_cli20.py @@ -641,9 +641,9 @@ class ClientV2UnicodeTestXML(ClientV2TestJson): class CLITestV20ExceptionHandler(CLITestV20Base): def _test_exception_handler_v20( - self, expected_exception, status_code, expected_msg, - error_type=None, error_msg=None, error_detail=None, - error_content=None): + self, expected_exception, status_code, expected_msg, + error_type=None, error_msg=None, error_detail=None, + error_content=None): if error_content is None: error_content = {'NeutronError': {'type': error_type, 'message': error_msg, @@ -37,10 +37,8 @@ commands= downloadcache = ~/cache/pip [flake8] -# E125 continuation line does not distinguish itself from next logical line -# -# TODO Fix the following rules from hacking 0.9.x # H405 multi line docstring summary not separated with an empty line -ignore = E125,H405 +# (mutli line docstring is used in unit tests frequently) +ignore = H405 show-source = true exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools |
