From 190b1624d228fbe984ade2907d5c3e40b77b2f08 Mon Sep 17 00:00:00 2001 From: Vinit Kumar Date: Fri, 20 Sep 2024 23:24:05 +0530 Subject: [PATCH] fix: add missing test_ that didn't made the test run --- tests/test_dict2xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_dict2xml.py b/tests/test_dict2xml.py index 602b70c..7a54ab7 100644 --- a/tests/test_dict2xml.py +++ b/tests/test_dict2xml.py @@ -470,7 +470,7 @@ def test_list_to_xml_with_special_characters(self): result = dicttoxml.dicttoxml(data, root=False, attr_type=False, item_wrap=True) assert result == b"<tag>&"quote"'single quote'" - def datetime_conversion_with_isoformat(self): + def test_datetime_conversion_with_isoformat(self): data = {"key": datetime.datetime(2023, 2, 15, 12, 30, 45)} result = dicttoxml.dicttoxml(data, attr_type=False) assert b"2023-02-15T12:30:45" in result