aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/vcpe/cleanvGMUX.py2
-rwxr-xr-xtest/vcpe/config_sdnc_so.py2
-rwxr-xr-xtest/vcpe/get_info.py10
-rwxr-xr-xtest/vcpe/healthcheck-k8s.py1
-rwxr-xr-xtest/vcpe/loop.py9
-rwxr-xr-xtest/vcpe/sdcutils.py3
-rw-r--r--test/vcpe/tests/test_imports.py1
-rwxr-xr-xtest/vcpe/vcpe.py2
-rwxr-xr-xtest/vcpe/vcpe_custom_service.py3
9 files changed, 7 insertions, 26 deletions
diff --git a/test/vcpe/cleanvGMUX.py b/test/vcpe/cleanvGMUX.py
index f5269532e..93135fb0c 100755
--- a/test/vcpe/cleanvGMUX.py
+++ b/test/vcpe/cleanvGMUX.py
@@ -4,8 +4,6 @@ import sys
import logging
import requests
import json
-from datetime import datetime
-import time
gmux_ip = ''
logging.basicConfig(level=logging.DEBUG, format='%(message)s')
diff --git a/test/vcpe/config_sdnc_so.py b/test/vcpe/config_sdnc_so.py
index 9f9a2e007..eac7c59a5 100755
--- a/test/vcpe/config_sdnc_so.py
+++ b/test/vcpe/config_sdnc_so.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import logging
-from vcpecommon import *
+from vcpecommon import * # pylint: disable=W0614
import csar_parser
diff --git a/test/vcpe/get_info.py b/test/vcpe/get_info.py
index 62e428ad0..71efd183c 100755
--- a/test/vcpe/get_info.py
+++ b/test/vcpe/get_info.py
@@ -1,16 +1,8 @@
#!/usr/bin/env python
-import time
import logging
import json
-import mysql.connector
-import ipaddress
-import re
-import sys
-import base64
-from vcpecommon import *
-import preload
-import vcpe_custom_service
+from vcpecommon import * # pylint: disable=W0614
import argparse
# Run the script with [-h|--help] to get usage info
diff --git a/test/vcpe/healthcheck-k8s.py b/test/vcpe/healthcheck-k8s.py
index ae33e25b2..2d58cc9d3 100755
--- a/test/vcpe/healthcheck-k8s.py
+++ b/test/vcpe/healthcheck-k8s.py
@@ -2,7 +2,6 @@
import argparse
import json
-import logging
from subprocess import Popen,PIPE,STDOUT,check_output,CalledProcessError
import sys
diff --git a/test/vcpe/loop.py b/test/vcpe/loop.py
index 43255c94c..1636e397c 100755
--- a/test/vcpe/loop.py
+++ b/test/vcpe/loop.py
@@ -2,14 +2,7 @@
import time
import logging
-import json
-import mysql.connector
-import ipaddress
-import re
-import sys
-import base64
-from vcpecommon import *
-import preload
+from vcpecommon import * # pylint: disable=W0614
import commands
import vcpe_custom_service
import argparse
diff --git a/test/vcpe/sdcutils.py b/test/vcpe/sdcutils.py
index a6f6a507b..db0229dfd 100755
--- a/test/vcpe/sdcutils.py
+++ b/test/vcpe/sdcutils.py
@@ -1,10 +1,9 @@
#!/usr/bin/env python
-import sys
import logging
import requests
import json
-from vcpecommon import *
+from vcpecommon import * # pylint: disable=W0614
class SdcUtils:
diff --git a/test/vcpe/tests/test_imports.py b/test/vcpe/tests/test_imports.py
index fee8507dc..4587495d4 100644
--- a/test/vcpe/tests/test_imports.py
+++ b/test/vcpe/tests/test_imports.py
@@ -1,6 +1,7 @@
import sys
sys.path.append('./')
+# pylint: disable=W0611
import vcpecommon
import config_sdnc_so
import csar_parser
diff --git a/test/vcpe/vcpe.py b/test/vcpe/vcpe.py
index b1540780d..fc853ae35 100755
--- a/test/vcpe/vcpe.py
+++ b/test/vcpe/vcpe.py
@@ -4,7 +4,7 @@ import logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(name)s.%(funcName)s(): %(message)s')
import sys
-from vcpecommon import *
+from vcpecommon import * # pylint: disable=W0614
import sdcutils
import soutils
from datetime import datetime
diff --git a/test/vcpe/vcpe_custom_service.py b/test/vcpe/vcpe_custom_service.py
index b3a26d174..973cd2723 100755
--- a/test/vcpe/vcpe_custom_service.py
+++ b/test/vcpe/vcpe_custom_service.py
@@ -2,8 +2,7 @@
import os
import requests
-import time
-from vcpecommon import *
+from vcpecommon import * # pylint: disable=W0614
from datetime import datetime
import soutils
import logging