Skip to content
Snippets Groups Projects
Commit 9c131ee1 authored by florian's avatar florian
Browse files

TST: Add timezone test

parent b31a3bb1
No related branches found
No related tags found
1 merge request!22Release 0.3
......@@ -236,6 +236,11 @@ class InsertionTest(unittest.TestCase):
entity_xml.format("2020-01-01T00:00:00.000")))
assure_has_property(entity=rec, name="TestDate", value=datetime(
2020, 1, 1), to_be_updated=to_be_updated)
rec = _parse_single_xml_element(etree.fromstring(
entity_xml.format("2020-01-01T00:00:00.000+0100")))
assure_has_property(entity=rec, name="TestDate", value=datetime(
2020, 1, 1), to_be_updated=to_be_updated)
assert len(to_be_updated) == 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment