diff options
Diffstat (limited to 'rtemsspec/tests/test_content.py')
-rw-r--r-- | rtemsspec/tests/test_content.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rtemsspec/tests/test_content.py b/rtemsspec/tests/test_content.py index 6bc344fa..ad26972e 100644 --- a/rtemsspec/tests/test_content.py +++ b/rtemsspec/tests/test_content.py @@ -169,6 +169,13 @@ b c """ +def test_iter(): + content = Content("BSD-2-Clause", True) + assert "".join(content) == "" + content.add("a") + assert "".join(content) == "a" + + def test_paste(): content = Content("BSD-2-Clause", True) content.paste("") |