summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gvnfmadapter/driver/interfaces/views.py2
-rw-r--r--gvnfmadapter/tox.ini2
2 files changed, 1 insertions, 3 deletions
diff --git a/gvnfmadapter/driver/interfaces/views.py b/gvnfmadapter/driver/interfaces/views.py
index 75c0e97..eb53a33 100644
--- a/gvnfmadapter/driver/interfaces/views.py
+++ b/gvnfmadapter/driver/interfaces/views.py
@@ -103,7 +103,6 @@ class VnfTermInfo(APIView):
logger.debug("terminate_vnf--post::> %s" % request.data)
logger.debug("Terminate vnf begin!")
vnfm_id = vnfmid
- vnfInstanceId = vnfInstanceId
try:
input_data = {
"terminationType": ignorcase_get(request.data, "terminationType"),
@@ -148,7 +147,6 @@ class VnfQueryInfo(APIView):
def get(self, request, vnfmtype, vnfmid, vnfInstanceId):
logger.debug("query_vnf--post::> %s" % request.data)
vnfm_id = vnfmid
- vnfInstanceId = vnfInstanceId
try:
logger.debug("[%s] request.data=%s", fun_name(), request.data)
resp = do_queryvnf(request, vnfm_id, vnfInstanceId)
diff --git a/gvnfmadapter/tox.ini b/gvnfmadapter/tox.ini
index 3d6a957..cd97ddd 100644
--- a/gvnfmadapter/tox.ini
+++ b/gvnfmadapter/tox.ini
@@ -20,4 +20,4 @@ commands =
{[testenv]commands}
[testenv:cov]
-commands = coverage html --omit="*test*,*__init__.py,*site-packages*" -d htmlcov \ No newline at end of file
+commands = coverage xml --omit="*test*,*__init__.py,*site-packages*" \ No newline at end of file