def get_tests_stanza(tests, is_server, prepend=None, append=None, client_control_file=''):
 assert (not (client_control_file and is_server))
 if (not prepend):
  prepend = []
 if (not append):
  append = []
 raw_control_files = [read_control_file(test) for test in tests]
 return _get_tests_stanza(raw_control_files, is_server, prepend, append, client_control_file=client_control_file)

def get_tests_stanza ( tests , is_server , prepend = None , append = None , client_control_file = '' ) : assert ( not ( client_control_file and is_server ) ) if ( not prepend ) : prepend = [ ] if ( not append ) : append = [ ] raw_control_files = [ read_control_file ( test ) for test in tests ] return _get_tests_stanza ( raw_control_files , is_server , prepend , append , client_control_file = client_control_file )
constructs the control file test step code from a list of tests .