Skip to content
Snippets Groups Projects
Verified Commit f27e7707 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

DOCS: Added fixme to fill_xlsx

parent f0db1ea4
No related branches found
No related tags found
3 merge requests!138Release 0.14.0,!135Xlsx export with props,!132Automatic XLSX export
Pipeline #62862 passed
...@@ -268,6 +268,7 @@ def test_export_list_refs(tmpdir): ...@@ -268,6 +268,7 @@ def test_export_list_refs(tmpdir):
sheet_training = filled_generated["Training"] sheet_training = filled_generated["Training"]
assert sheet_training.max_row == 7 assert sheet_training.max_row == 7
assert sheet_training.max_column == 19 assert sheet_training.max_column == 19
# Use same transformation as fill_xlsx for datetime comparison.
date = sheet_training["D7"].value date = sheet_training["D7"].value
assert date == datetime.fromisoformat("2024-03-21 14:12:00+00:00" assert date == datetime.fromisoformat("2024-03-21 14:12:00+00:00"
).astimezone().replace(tzinfo=None) ).astimezone().replace(tzinfo=None)
......
...@@ -187,6 +187,7 @@ Returns ...@@ -187,6 +187,7 @@ Returns
out: union[dict, None] out: union[dict, None]
If ``only_collect_insertables`` is True, return a dict (path string -> value) If ``only_collect_insertables`` is True, return a dict (path string -> value)
""" """
# FIXME The `utc` parameter is neither used, tested nor propagated recursively.
assert (current_path is None) is (context is None), ( assert (current_path is None) is (context is None), (
"`current_path` and `context` must either both be given, or none of them.") "`current_path` and `context` must either both be given, or none of them.")
if current_path is None: if current_path is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment