summaryrefslogtreecommitdiff
path: root/testapp/tests/test_code_evaluation.py
diff options
context:
space:
mode:
authorankitjavalkar2015-09-14 12:28:41 +0530
committerankitjavalkar2015-09-15 11:33:59 +0530
commit7a60f782995eed0352f3172f445bb35ae8ee6aa9 (patch)
tree91d6d12b0a494dd9777fd1120e92db5763bf009a /testapp/tests/test_code_evaluation.py
parent32cde26f9807a29eb1fae0833e353212d43d7802 (diff)
downloadonline_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.tar.gz
online_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.tar.bz2
online_test-7a60f782995eed0352f3172f445bb35ae8ee6aa9.zip
Remove testapp dir, remove reference to testapp in paths, files
Diffstat (limited to 'testapp/tests/test_code_evaluation.py')
-rw-r--r--testapp/tests/test_code_evaluation.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/testapp/tests/test_code_evaluation.py b/testapp/tests/test_code_evaluation.py
deleted file mode 100644
index 10b88b5..0000000
--- a/testapp/tests/test_code_evaluation.py
+++ /dev/null
@@ -1,24 +0,0 @@
-import unittest
-import os
-from testapp.yaksh import python_code_evaluator
-from testapp.yaksh.language_registry import _LanguageRegistry, set_registry, get_registry
-from testapp.yaksh.settings import SERVER_TIMEOUT
-
-
-class RegistryTestCase(unittest.TestCase):
- def setUp(self):
- set_registry()
- self.registry_object = get_registry()
- self.language_registry = _LanguageRegistry()
-
- def test_set_register(self):
- class_name = getattr(python_code_evaluator, 'PythonCodeEvaluator')
- self.registry_object.register("python", "testapp.yaksh.python_code_evaluator.PythonCodeEvaluator")
- self.assertEquals(self.registry_object.get_class("python"), class_name)
-
- def tearDown(self):
- self.registry_object = None
-
-
-if __name__ == '__main__':
- unittest.main()