diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_language.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_language.py b/test/test_language.py index 6d9fa31d..d0f43198 100644 --- a/test/test_language.py +++ b/test/test_language.py @@ -606,9 +606,9 @@ class TestResponse: def test_render(self): r = language.parse_response({}, "400:p0,100:dr") - assert r.actions[0].spec() == "p0,100" - assert len(r.preview_safe()) == 1 - assert not r.actions[0].spec().startswith("p") + assert "p0" in r.spec() + s = r.preview_safe() + assert not "p0" in s.spec() |