diff options
author | 2022-11-28 12:24:59 +0800 | |
---|---|---|
committer | 2022-11-28 12:24:59 +0800 | |
commit | ad7082e6a5c4462e5064fbf3848bf61ba5c22fdf (patch) | |
tree | 85afb1619cca8e73e5c7cb373d7f1a299b03905a /tests | |
parent | Add input/args integration test (diff) |
Fix input append to args
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_integration.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |