diff options
| author | 2022-12-04 09:57:39 +0800 | |
|---|---|---|
| committer | 2022-12-04 09:57:39 +0800 | |
| commit | 95e3e18ac93709257840f8e5c36e6543678931f5 (patch) | |
| tree | 6b4852531e0f59b5c297d4b62199db08473a3744 /tests | |
| parent | Add usage of ExitStack, remove warning suppress (diff) | |
Add tests for test_eval 200
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/api/test_eval.py | 3 | 
1 files changed, 3 insertions, 0 deletions
| 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(): | 
