Skip to content

Commit

Permalink
enhancement: add one more test case for XML backend that empty tag wa…
Browse files Browse the repository at this point in the history
…s given
  • Loading branch information
ssato committed Feb 13, 2017
1 parent e3d4089 commit a45e1ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions anyconfig/backend/tests/xml.py
Expand Up @@ -26,7 +26,8 @@
CNF_0 = {'config': {'@attrs': {'name': 'foo'},
'a': '0',
'b': {'@attrs': {'id': 'b0'}, '@text': 'bbb'},
'sect0': {'c': 'x, y, z'},
'c': None,
'sect0': {'d': 'x, y, z'},
'list1': {'@children': [{'item': '0'},
{'item': '1'},
{'item': '2'}]}}}
Expand All @@ -36,8 +37,9 @@
<config name='foo'>
<a>0</a>
<b id="b0">bbb</b>
<c/>
<sect0>
<c>x, y, z</c>
<d>x, y, z</d>
</sect0>
<list1>
<item>0</item>
Expand Down

0 comments on commit a45e1ac

Please sign in to comment.