aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_rparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_rparse.py')
-rw-r--r--test/test_rparse.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_rparse.py b/test/test_rparse.py
index 922c8fc6..dadf5bc1 100644
--- a/test/test_rparse.py
+++ b/test/test_rparse.py
@@ -493,6 +493,12 @@ class TestResponse:
r.actions = actions
testlen(r, actions)
+ def test_render(self):
+ r = rparse.parse_response({}, "400:p0,100:dr")
+ assert r.actions[0][1] == "pause"
+ r.preview_safe()
+ assert not r.actions[0][1] == "pause"
+
def test_read_file():