aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe
diff options
context:
space:
mode:
Diffstat (limited to 'test/vcpe')
-rwxr-xr-xtest/vcpe/cleanvGMUX.py2
-rwxr-xr-xtest/vcpe/config_sdnc_so.py2
-rwxr-xr-xtest/vcpe/csar_parser.py3
-rwxr-xr-xtest/vcpe/get_info.py2
-rwxr-xr-xtest/vcpe/healthcheck-k8s.py2
-rwxr-xr-xtest/vcpe/loop.py2
-rwxr-xr-xtest/vcpe/preload.py2
-rwxr-xr-xtest/vcpe/sdcutils.py2
-rwxr-xr-xtest/vcpe/soutils.py2
-rwxr-xr-xtest/vcpe/vcpe.py5
-rwxr-xr-xtest/vcpe/vcpe_custom_service.py2
-rwxr-xr-xtest/vcpe/vcpecommon.py2
12 files changed, 15 insertions, 13 deletions
diff --git a/test/vcpe/cleanvGMUX.py b/test/vcpe/cleanvGMUX.py
index 8b2751f45..f5269532e 100755
--- a/test/vcpe/cleanvGMUX.py
+++ b/test/vcpe/cleanvGMUX.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import sys
import logging
diff --git a/test/vcpe/config_sdnc_so.py b/test/vcpe/config_sdnc_so.py
index e9d642ad1..46d4c1c4c 100755
--- a/test/vcpe/config_sdnc_so.py
+++ b/test/vcpe/config_sdnc_so.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import logging
from vcpecommon import *
diff --git a/test/vcpe/csar_parser.py b/test/vcpe/csar_parser.py
index f101364d5..7046070e5 100755
--- a/test/vcpe/csar_parser.py
+++ b/test/vcpe/csar_parser.py
@@ -1,4 +1,5 @@
-#! /usr/bin/python
+#!/usr/bin/env python
+
import os
import zipfile
import shutil
diff --git a/test/vcpe/get_info.py b/test/vcpe/get_info.py
index 5b0c6879b..2d52a07b7 100755
--- a/test/vcpe/get_info.py
+++ b/test/vcpe/get_info.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import time
import logging
diff --git a/test/vcpe/healthcheck-k8s.py b/test/vcpe/healthcheck-k8s.py
index 67a1981d2..241603130 100755
--- a/test/vcpe/healthcheck-k8s.py
+++ b/test/vcpe/healthcheck-k8s.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import argparse
import json
diff --git a/test/vcpe/loop.py b/test/vcpe/loop.py
index d0243960e..3dc1948f8 100755
--- a/test/vcpe/loop.py
+++ b/test/vcpe/loop.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import time
import logging
diff --git a/test/vcpe/preload.py b/test/vcpe/preload.py
index f4aafbe8e..7a3b9aa04 100755
--- a/test/vcpe/preload.py
+++ b/test/vcpe/preload.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import requests
import json
diff --git a/test/vcpe/sdcutils.py b/test/vcpe/sdcutils.py
index 2cf2a642d..a6f6a507b 100755
--- a/test/vcpe/sdcutils.py
+++ b/test/vcpe/sdcutils.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import sys
import logging
diff --git a/test/vcpe/soutils.py b/test/vcpe/soutils.py
index 734b793e0..7ab429099 100755
--- a/test/vcpe/soutils.py
+++ b/test/vcpe/soutils.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import sys
import logging
diff --git a/test/vcpe/vcpe.py b/test/vcpe/vcpe.py
index dd286bd30..49fc0e488 100755
--- a/test/vcpe/vcpe.py
+++ b/test/vcpe/vcpe.py
@@ -1,8 +1,7 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import logging
-logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(levelname)s %(name)s.%(funcName)s(): %(message)s')
-#logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(name)s.%(funcName)s(): %(message)s')
+logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s %(name)s.%(funcName)s(): %(message)s')
import sys
from vcpecommon import *
diff --git a/test/vcpe/vcpe_custom_service.py b/test/vcpe/vcpe_custom_service.py
index 36012f7b0..e2681fd11 100755
--- a/test/vcpe/vcpe_custom_service.py
+++ b/test/vcpe/vcpe_custom_service.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
import os
import requests
diff --git a/test/vcpe/vcpecommon.py b/test/vcpe/vcpecommon.py
index 78085fc1f..1f1c8289a 100755
--- a/test/vcpe/vcpecommon.py
+++ b/test/vcpe/vcpecommon.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
import json
import logging
import os