aboutsummaryrefslogtreecommitdiffstats
path: root/func/cli.py
diff options
context:
space:
mode:
authorMofassir <Mofassir_arif@Dellteam.com>2016-01-05 09:20:58 -0800
committerMofassir <Mofassir_arif@Dellteam.com>2016-01-05 09:35:40 -0800
commitcb47406502e3ab9029530e82cacc2f9f012d5bd3 (patch)
tree274dddab862b0374701f05194f1ec8351dff41c0 /func/cli.py
parent57922dcb8e6497f02fdee9306494e932e25dcace (diff)
I have added the placeholder documentation files and
folders. They will be editted in time for the release Change-Id: Id69392233399ad536b359da5733dfaa43a602443 Signed-off-by: Mofassir <Mofassir_arif@Dellteam.com>
Diffstat (limited to 'func/cli.py')
-rw-r--r--func/cli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/func/cli.py b/func/cli.py
index 87b205a0..833e3740 100644
--- a/func/cli.py
+++ b/func/cli.py
@@ -28,6 +28,7 @@ class cli():
xindex= filepath[suites].find('.')
filepath[suites]=filepath[suites][0:xindex]
return filepath
+
def __init__(self):
suite=[]
parser = argparse.ArgumentParser()
@@ -50,7 +51,7 @@ class cli():
if os.path.isfile('./test_cases/'+args.lab.lower()+'/'+suite[0]+'/' +benchmarks[items]):
[benchmark, roles, vm_info, benchmark_details, pip] = obj.parse('./test_cases/'
+args.lab.lower()+'/'+suite[0]+'/'+benchmarks[items])
-
+
if len(vm_info) != 0:
vmObj =''
vmObj = SpawnVM(vm_info)