summaryrefslogtreecommitdiffstats
path: root/gvnfmadapter
diff options
context:
space:
mode:
Diffstat (limited to 'gvnfmadapter')
-rw-r--r--gvnfmadapter/driver/interfaces/tests.py2
-rw-r--r--gvnfmadapter/tox.ini2
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