diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2018-10-26 13:56:05 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2018-10-26 14:11:05 +0800 |
commit | 79314dce4c30dfd863f256b0c038e19961ecac23 (patch) | |
tree | cb2b2b6b2fa654d70df6223eb9d8d1b081dfa22c /gvnfmadapter | |
parent | 4d27f2af1b805d22b3dd666cded7e95054938b5d (diff) |
Disable pep8 W504 error
Change-Id: I03fa0cf8329f281147012260d6ee987f2c7a9d12
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'gvnfmadapter')
-rw-r--r-- | gvnfmadapter/driver/interfaces/tests.py | 2 | ||||
-rw-r--r-- | gvnfmadapter/tox.ini | 2 |
2 files changed, 1 insertions, 3 deletions
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 |