aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_integration.py
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-11-19 21:10:20 -0500
committerGravatar ionite34 <[email protected]>2022-11-19 21:10:20 -0500
commitba6d0a8a10af687393134fc1e9662100ce67df52 (patch)
tree858ba25315e538c3ab25598b18e8e877fbf23d8e /tests/test_integration.py
parentAdd DEBUG to __all__ (diff)
Implement files request form
Diffstat (limited to 'tests/test_integration.py')
-rw-r--r--tests/test_integration.py2
1 files changed, 1 insertions, 1 deletions
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")