Skip to content

Commit

Permalink
Update xlsx unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pieqq committed Apr 24, 2024
1 parent 72b766c commit bce7ddc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions checkbox-ng/plainbox/impl/exporter/test_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ def test_write_tp_export(self):
unit.Meta.name = "category"

state = SessionState(job_list)
data["manager"].default_device_context.state = state
XLSXSessionStateExporter.write_tp_export(self_mock, data)
self_mock.worksheet4.write_row.assert_called_with(
ANY, 0, ["test", "", ""], ANY
)
state.update_desired_job_list(job_list)
state.unit_list.append(unit)

Expand Down

0 comments on commit bce7ddc

Please sign in to comment.