summaryrefslogtreecommitdiffstats
path: root/rtemsqual/tests/test_content_c.py
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-20 07:41:44 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 10:38:23 +0200
commiteae2e65f250fae6401485a6e3731e452a96249ae (patch)
treed762c4ca2ccca58a64064fabeb94a463e9ad4e19 /rtemsqual/tests/test_content_c.py
parentcontent: Strip content before it is wrapped (diff)
downloadrtems-central-eae2e65f250fae6401485a6e3731e452a96249ae.tar.bz2
content: Add content directly with Content.wrap()
Diffstat (limited to 'rtemsqual/tests/test_content_c.py')
-rw-r--r--rtemsqual/tests/test_content_c.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rtemsqual/tests/test_content_c.py b/rtemsqual/tests/test_content_c.py
index cf20b72e..9bfd93d7 100644
--- a/rtemsqual/tests/test_content_c.py
+++ b/rtemsqual/tests/test_content_c.py
@@ -119,16 +119,16 @@ def test_comment_block():
content = CContent()
with content.comment_block():
assert not content.gap
- content.add(content.wrap(""))
+ content.add("")
assert not content.gap
assert str(content) == """/*
"""
- content.add(content.wrap("a"))
+ content.add("a")
assert content.gap
assert str(content) == """/*
* a
"""
- content.add(content.wrap("b"))
+ content.add("b")
assert content.gap
assert str(content) == """/*
* a
@@ -136,7 +136,7 @@ def test_comment_block():
* b
"""
content.gap = False
- content.add(content.wrap("c"))
+ content.add("c")
assert content.gap
assert str(content) == """/*
* a