aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/vcpe/preload.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/vcpe/preload.py b/test/vcpe/preload.py
index 5d86487ce..08b34ecf5 100755
--- a/test/vcpe/preload.py
+++ b/test/vcpe/preload.py
@@ -4,7 +4,6 @@ import requests
import json
import sys
from datetime import datetime
-from vcpecommon import *
import csar_parser
import logging
import base64
@@ -263,8 +262,7 @@ class Preload:
def test(self):
# this is for testing purpose
name_suffix = datetime.now().strftime('%Y%m%d%H%M')
- vcpecommon = VcpeCommon()
- preloader = Preload(vcpecommon)
+ preloader = Preload(self.vcpecommon)
network_dict = {'${' + k + '}': v for k, v in self.vcpecommon.common_preload_config.items()}
template_file = 'preload_templates/template.network.json'