From: fujinhua Date: Fri, 26 Oct 2018 05:56:05 +0000 (+0800) Subject: Disable pep8 W504 error X-Git-Tag: 1.2.1~11 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=79314dce4c30dfd863f256b0c038e19961ecac23;p=vfc%2Fnfvo%2Fdriver%2Fvnfm%2Fgvnfm.git Disable pep8 W504 error Change-Id: I03fa0cf8329f281147012260d6ee987f2c7a9d12 Issue-ID: VFC-1163 Signed-off-by: fujinhua --- diff --git a/gvnfmadapter/driver/interfaces/tests.py b/gvnfmadapter/driver/interfaces/tests.py index c062c7c..72f47b8 100644 --- a/gvnfmadapter/driver/interfaces/tests.py +++ b/gvnfmadapter/driver/interfaces/tests.py @@ -729,8 +729,6 @@ class InterfacesTest(TestCase): ) self.assertEqual(status.HTTP_500_INTERNAL_SERVER_ERROR, response.status_code) - -# Operate API Test case @mock.patch.object(restcall, 'call_req') def test_operate_vnf_404_NotFound(self, mock_call_req): vnfm_info = { diff --git a/gvnfmadapter/tox.ini b/gvnfmadapter/tox.ini index cd97ddd..43bb510 100644 --- a/gvnfmadapter/tox.ini +++ b/gvnfmadapter/tox.ini @@ -7,7 +7,7 @@ deps = -r{toxinidir}/requirements.txt commands = coverage run --branch manage.py test [flake8] -ignore = E501,E121,W191,E101,W293,E302,E231,E201,E202,F841,E225,E241,E126,E722 +ignore = E501,E121,W191,E101,W293,E302,E231,E201,E202,F841,E225,E241,E126,E722,W504 exclude = ./venv-tox,./.tox max-complexity = 12