aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-12-13 10:27:38 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-01-10 08:42:03 +0000
commit9afc5c707646215d2b541bafbd89c5d96fbc5f6e (patch)
tree6ef1337f1c737c09064db60079484acd472dfb3e
parentbf261946df3fc5b21d826e8c3914c570513f7a71 (diff)
Fix VcpeCommon object instantiation
Superfluous VcpeCommon object instantiation in 'test' routine in Preload class was removed. Removed meaningless vcpecommon namespace import. Change-Id: I68c8604b12ffc760ab8ed4c53af586a5ca2572c7 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1399
-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'