Added 75% treshhold for test groups progress bars. In -r option

pull/260/head
Przemek Wirkus 2014-04-09 11:33:57 +01:00 committed by bcostm
parent 72c1b9c12a
commit d053a335ab
1 changed files with 2 additions and 0 deletions

View File

@ -426,6 +426,8 @@ def get_result_summary_table():
percent_progress = round(100.0 * counter_dict_test_id_types[unique_id] / float(counter_dict_test_id_types_all[unique_id]), 2)
step = int(percent_progress / 2)
str_progress = '#' * step + '.' * int(50 - step)
c = '!' if str_progress[38] == '.' else '|'
str_progress = str_progress[:38] + c + str_progress[38:]
row = [unique_id,
counter_dict_test_id_types[unique_id],
counter_dict_test_id_types_all[unique_id],