Change-Id: I03fa0cf8329f281147012260d6ee987f2c7a9d12
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
)
self.assertEqual(status.HTTP_500_INTERNAL_SERVER_ERROR, response.status_code)
)
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 = {
@mock.patch.object(restcall, 'call_req')
def test_operate_vnf_404_NotFound(self, mock_call_req):
vnfm_info = {
commands = coverage run --branch manage.py test
[flake8]
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
exclude = ./venv-tox,./.tox
max-complexity = 12