summaryrefslogtreecommitdiff
path: root/reconfigure/tests/parsers
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2018-04-25 14:33:27 +0200
committerAndrew Shadura <andrewsh@debian.org>2018-04-25 14:33:27 +0200
commitb50a7a9f6a102709eacd1335c00a1e0d0b259b8e (patch)
tree481b20200ab0c34e1f0d829d8b4b8d17dceaadcd /reconfigure/tests/parsers
parent2989b4c027b3230b1778e3777d2cce53c89808d9 (diff)
New upstream version 0.1.81+git20171214.2b8729a8
Diffstat (limited to 'reconfigure/tests/parsers')
-rw-r--r--reconfigure/tests/parsers/ini_tests.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/reconfigure/tests/parsers/ini_tests.py b/reconfigure/tests/parsers/ini_tests.py
index cdb3c02..76a216c 100644
--- a/reconfigure/tests/parsers/ini_tests.py
+++ b/reconfigure/tests/parsers/ini_tests.py
@@ -18,9 +18,17 @@ s1p2=123
Node('section1',
PropertyNode('s1p1', 'asd', comment='comment 2'),
PropertyNode('s1p2', '123'),
- comment='section comment'
+ comment='section comment',
+ extra_content={'c': 'd'},
),
)
+ stringified = """a=b
+
+[section1] ;section comment
+s1p1=asd ;comment 2
+s1p2=123
+c=d
+"""
del BaseParserTest