Skip to content

Commit

Permalink
Fixing issue that counted duplicated tests in the xlsx report (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelrti authored Mar 6, 2024
1 parent 9ad7f76 commit 7eb857a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions generate_xlsx_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,11 @@ def get_info(self, input: pathlib.Path = None):
# the information of the publisher and the subscriber
self.update_value_aggregated_data_dict(
self.summary_dict, publisher_name, element)
self.update_value_aggregated_data_dict(
self.summary_dict, subscriber_name, element)
# do not add duplicated data if the publisher and subscriber names
# are the same
if publisher_name != subscriber_name:
self.update_value_aggregated_data_dict(
self.summary_dict, subscriber_name, element)

# Get table with the summary of the test passed/total_tests for
# every product as publisher and as subscriber
Expand Down

0 comments on commit 7eb857a

Please sign in to comment.