summaryrefslogtreecommitdiff
path: root/testapp/test_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/test_server.py')
-rw-r--r--testapp/test_server.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/testapp/test_server.py b/testapp/test_server.py
index e81daf2..0790816 100644
--- a/testapp/test_server.py
+++ b/testapp/test_server.py
@@ -35,28 +35,6 @@ def test_python():
language="python")
check_result(result, 'nameerror')
-def test_c():
- """Test if server runs Python code as expected."""
- src = 'while True: pass'
- result = code_server.run_code(src, '', '/tmp', language="c")
- check_result(result, 'more than ')
-
- src = 'x = 1'
- result = code_server.run_code(src, 'assert x == 1', '/tmp',
- language="c")
- check_result(result, 'correct answer')
-
- result = code_server.run_code(src, 'assert x == 0', '/tmp',
- language="c")
- check_result(result, 'assertionerror')
-
- src = 'C lang. Code'
- result = code_server.run_code(src, 'assert x == 0', '/tmp',
- language="c")
- check_result(result, 'nameerror')
-
-
-
def test_bash():
"""Test if server runs Bash code as expected."""
src = """