ttcn3/lib/testlib.py: make list of kwargs git friendly

Change-Id: I3b9e8d95b871f8bf5043b168fee0716c71becbe5
This commit is contained in:
Vadim Yanitskiy 2020-08-06 01:46:20 +07:00
parent d81b1e4499
commit ed5c776100
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,10 @@ def run_ttcn3(tenv, testdir, bts, osmocon, nat_rsl_ip, ttcn3_test_execute, ttcn3
print('Creating template')
mytemplate = Template(filename=bts_tmpl_file)
r = mytemplate.render(btsvty_ctrl_hostname=bts.remote_addr(), pcu_available=pcu_available, ttcn3_test_execute=ttcn3_test_execute, ttcn3_test_extra_module_params=ttcn3_test_extra_module_params)
r = mytemplate.render(btsvty_ctrl_hostname=bts.remote_addr(),
pcu_available=pcu_available,
ttcn3_test_execute=ttcn3_test_execute,
ttcn3_test_extra_module_params=ttcn3_test_extra_module_params)
with open(bts_cfg_file, 'w') as f:
f.write(r)