Coverage: Update color to font_color in header_format

Updated the code to use the font_color property, which
is the correct attribute for setting the text color in
recent versions of xlsxwriter (3.2.1).

Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
This commit is contained in:
Arkadiusz Cholewinski 2025-01-23 13:28:34 +01:00 committed by Benjamin Cabé
parent 2534dc14b9
commit c5c061a5c0

View File

@ -334,7 +334,7 @@ class Json_report:
{
"bold": True,
"fg_color": "#538DD5",
"color":"white"
"font_color":"white"
}
)
cell_format = workbook.add_format(
@ -404,7 +404,7 @@ class Json_report:
{
"bold": True,
"fg_color": "#538DD5",
"color":"white"
"font_color":"white"
}
)
@ -415,7 +415,7 @@ class Json_report:
"align": "center",
"valign": "vcenter",
"fg_color": "#538DD5",
"color":"white"
"font_color":"white"
}
)
cell_format = self.report_book.add_format(