Skip to content

Commit

Permalink
Update test result
Browse files Browse the repository at this point in the history
  • Loading branch information
atthaboon committed Sep 23, 2020
1 parent 06b1b06 commit b824384
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Examples/AutoAddTestDataColumnsExample.robot
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Library ExcelDataDriver

*** Test Cases ***
Add basic test result column
${extra columns} = Create List [Status2] [Log Message2] [Screenshot2] [Tags2]
auto_insert_extra_columns ./test_data/BasicDemoData.xlsx username ${extra columns}
${extra columns} = Create List [Status] [Log Message] [Screenshot] [Tags]
Auto Insert Extra Columns ./test_data/BasicNonTestResultColumnsMultipleSheet.xlsx username ${extra columns}
Binary file modified Examples/test_data/BasicDemoData.xlsx
Binary file not shown.
Binary file removed Examples/test_data/BasicNonTestResultColumns.xlsx
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion ExcelDataDriver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def auto_insert_extra_columns(self, filename, main_column_key, columns=[],
CustomExcelParser = getattr(importlib.import_module(custom_parser_module), custom_parser_class)
parser_context = ParserContext(CustomExcelParser(main_column_key))
parser_context.insert_extra_columns(reference_wb, columns)
reference_wb.save('./test_data/BasicDemoData2.xlsx')
reference_wb.save(filename)

####################################################
#
Expand Down

0 comments on commit b824384

Please sign in to comment.