From 95e3e18ac93709257840f8e5c36e6543678931f5 Mon Sep 17 00:00:00 2001 From: ionite34 Date: Sun, 4 Dec 2022 09:57:39 +0800 Subject: Add tests for test_eval 200 --- tests/api/test_eval.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/api/test_eval.py b/tests/api/test_eval.py index 26ac38a..40369f5 100644 --- a/tests/api/test_eval.py +++ b/tests/api/test_eval.py @@ -8,6 +8,9 @@ class TestEvalResource(SnekAPITestCase): cases = [ {"args": ["-c", "print('output')"]}, {"input": "print('hello')"}, + {"input": "print('hello')", "args": ["-c"]}, + {"input": "print('hello')", "args": [""]}, + {"input": "pass", "args": ["-m", "timeit"]}, ] for body in cases: with self.subTest(): -- cgit v1.2.3