diff --git a/unittests/test_cfood.py b/unittests/test_cfood.py index f340bfb893996d2d48e4607814c34f2d707f6cc9..27048865ef64105b0ae7afb9d84d381c9fa4113f 100644 --- a/unittests/test_cfood.py +++ b/unittests/test_cfood.py @@ -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