'prox_socket' 'prox_launch_exit' and 'monitor' will be set to 'True' if
not in the configration file for that specific test machine. The code is
now cleaner.
Signed-off-by: Luc Provoost <luc.provoost@gmail.com>
Change-Id: I8f05a4eac884896139b2fb6deabbce4d3edfd2ae
"Minimum Value for bucket_size_exp is 11")
else:
machine[option] = testconfig.get(section, option)
- for key in ['prox_socket','prox_launch_exit']:
- if key not in machine.keys():
- machine[key] = True
- if 'monitor' not in machine.keys():
- machine['monitor'] = True
+ for key in ['prox_socket','prox_launch_exit','monitor']:
+ if key not in machine.keys():
+ machine[key] = True
section = 'M%d'%machine_index[test_machine-1]
options = config.options(section)
for option in options: