aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_integration.py
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-11-28 12:24:59 +0800
committerGravatar ionite34 <[email protected]>2022-11-28 12:24:59 +0800
commitad7082e6a5c4462e5064fbf3848bf61ba5c22fdf (patch)
tree85afb1619cca8e73e5c7cb373d7f1a299b03905a /tests/test_integration.py
parentAdd input/args integration test (diff)
Fix input append to args
Diffstat (limited to 'tests/test_integration.py')
-rw-r--r--tests/test_integration.py4
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):