Skip to content

Commit 190b162

Browse files
author
Vinit Kumar
committed
fix: add missing test_ that didn't made the test run
1 parent db26e74 commit 190b162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_dict2xml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def test_list_to_xml_with_special_characters(self):
470470
result = dicttoxml.dicttoxml(data, root=False, attr_type=False, item_wrap=True)
471471
assert result == b"<items><item>&lt;tag&gt;</item><item>&amp;</item><item>&quot;quote&quot;</item><item>&apos;single quote&apos;</item></items>"
472472

473-
def datetime_conversion_with_isoformat(self):
473+
def test_datetime_conversion_with_isoformat(self):
474474
data = {"key": datetime.datetime(2023, 2, 15, 12, 30, 45)}
475475
result = dicttoxml.dicttoxml(data, attr_type=False)
476476
assert b"<key>2023-02-15T12:30:45</key>" in result

0 commit comments

Comments
 (0)