Skip to content
Snippets Groups Projects
Commit acd3f964 authored by brydenf's avatar brydenf
Browse files

Removed some extraneous print statements

parent 7b2730f6
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,6 @@ class ExcelWriter:
return cell.row
if verbose:
print(cell, cell.value)
print("Early return with val {}".format(cell.row+1))
return cell.row + 1
def write_test_entry(self, test_entry):
......@@ -124,7 +123,7 @@ class ExcelWriter:
# Use above value to determine if last row needs to be computed and used
location = (existing_entry_row if existing_entry_row != -1 else
self.get_last_row(chart_work_sheet, True) - 1)
self.get_last_row(chart_work_sheet) - 1)
print("Pie chart with name {}, data {} and location {}".format(name, data, location))
......@@ -150,10 +149,8 @@ class ExcelWriter:
pie.set_categories(labels)
pie.title = "PASS/FAIL Distribution for {}".format(name)
print("{}/3 = {}, *15 + 1 = {}".format(location, int(location/3), int(location/3)*15 +1))
chart_location = int(location/3)*15 + 1
chart_work_sheet.add_chart(pie, "E{}".format(chart_location))
print("Wrote chart to E{}".format(chart_location))
def get_pass_fail_counts(self):
"""
......@@ -199,7 +196,6 @@ class ExcelWriter:
data.setdefault(row[4].value, {}).setdefault(row[5].value,
[self.get_suite_id_from_test_id(test_id),
0, 0])[tuple_index] += 1
print(data)
return data
@staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment