Disable pep8 W504 error 96/71296/3
authorfujinhua <fu.jinhua@zte.com.cn>
Fri, 26 Oct 2018 05:56:05 +0000 (13:56 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Fri, 26 Oct 2018 06:11:05 +0000 (14:11 +0800)
Change-Id: I03fa0cf8329f281147012260d6ee987f2c7a9d12
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
gvnfmadapter/driver/interfaces/tests.py
gvnfmadapter/tox.ini

index c062c7c..72f47b8 100644 (file)
@@ -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 = {
index cd97ddd..43bb510 100644 (file)
@@ -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