diff options
Diffstat (limited to 'func/cli.py')
-rw-r--r-- | func/cli.py | 3 |
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) |