From ad7082e6a5c4462e5064fbf3848bf61ba5c22fdf Mon Sep 17 00:00:00 2001 From: ionite34 Date: Mon, 28 Nov 2022 12:24:59 +0800 Subject: Fix input append to args --- tests/test_integration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_integration.py b/tests/test_integration.py index 5aa1b43..01fa657 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -56,8 +56,8 @@ class IntegrationTests(unittest.TestCase): """Test normal eval requests without files.""" with run_gunicorn(): cases = [ - ({"input": "print('Hello')"}, "Hello"), - ({"args": ["-c", "print('Hello')"]}, "Hello"), + ({"input": "print('Hello')"}, "Hello\n"), + ({"args": ["-c", "print('abc12')"]}, "abc12\n"), ] for body, expected in cases: with self.subTest(body=body): -- cgit v1.2.3