def get_runner_constructor(suite_tag):
 module_name = ('api_tests.' + suite_tag.lower())
 module = importlib.import_module(module_name)
 suite_runner_function = getattr(module, ('Test' + suite_tag))
 return suite_runner_function

def get_runner_constructor ( suite_tag ) : module_name = ( 'api_tests.' + suite_tag . lower ( ) ) module = importlib . import_module ( module_name ) suite_runner_function = getattr ( module , ( 'Test' + suite_tag ) ) return suite_runner_function
returns the function to run for the test runner .