def main_test_fun_weather_api(): log_env_setup() log_report_header() WinSysUtils.exec_fun_and_log_exec_time(main_get_city_weather_data) log_report_trailer()
def main_get_city_weather_data(): for line in read_city_list(): WinSysUtils.exec_fun_and_log_exec_time(log_weather_data_line, line.rstrip('\n'))