diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:44 +0000 |
commit | 02a04a2335701bfc8d6a1087338f58e9f37ceb52 (patch) | |
tree | 92c2c729cfdaaa3942a251357ff100e28a8b8624 /tests/unittests/test_render_functions.py | |
parent | Adding upstream version 1.9.1. (diff) | |
download | iredis-02a04a2335701bfc8d6a1087338f58e9f37ceb52.tar.xz iredis-02a04a2335701bfc8d6a1087338f58e9f37ceb52.zip |
Adding upstream version 1.9.4.upstream/1.9.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/unittests/test_render_functions.py')
-rw-r--r-- | tests/unittests/test_render_functions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unittests/test_render_functions.py b/tests/unittests/test_render_functions.py index 2da9b35..30b328e 100644 --- a/tests/unittests/test_render_functions.py +++ b/tests/unittests/test_render_functions.py @@ -484,3 +484,9 @@ def test_render_bytes(config): def test_render_bytes_raw(config): assert renders.OutputRender.render_raw(b"bytes\n") == b"bytes\n" + + +def test_render_help(config): + assert renders.OutputRender.render_help([b"foo", b"bar"]) == FormattedText( + [("class:string", "foo\nbar")] + ) |