lf_check.py : attempts at multi lin command line argument list

ct_us_001.json :  updated configuration

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-07-10 07:12:23 -06:00
parent 1d6c0a97cf
commit c05821a2cd
2 changed files with 11 additions and 6 deletions

View File

@@ -676,6 +676,11 @@ blog: http://{blog}:2368
self.logger.info("test: {} skipped".format(test))
# load the default database
elif self.test_dict[test]['enabled'] == "TRUE":
# if args key has a value of an empty scring then need to manipulate the args_list to args
# list does not have replace only stings do to args_list will be joined and converted to a string and placed
# in args. Then the replace below will work.
if self.test_dict[test]['args'] == "":
self.test_dict[test]['args'] = self.test_dict[test]['args'].replace(self.test_dict[test]['args'],''.join(self.test_dict[test]['args_list']))
# Configure Tests
# loop through radios
for radio in self.radio_dict: