From ba6d0a8a10af687393134fc1e9662100ce67df52 Mon Sep 17 00:00:00 2001 From: ionite34 Date: Sat, 19 Nov 2022 21:10:20 -0500 Subject: Implement files request form --- tests/test_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_integration.py') diff --git a/tests/test_integration.py b/tests/test_integration.py index 7c5db2b..eba5e60 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -7,7 +7,7 @@ from tests.gunicorn_utils import run_gunicorn def run_code_in_snekbox(code: str) -> tuple[str, int]: - body = {"input": code} + body = {"args": ["-c", code]} json_data = json.dumps(body).encode("utf-8") req = urllib.request.Request("http://localhost:8060/eval") -- cgit v1.2.3