summaryrefslogtreecommitdiff
path: root/testapp/tests/test_code_evaluation.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2015-05-27 10:58:44 +0530
committerPrabhu Ramachandran2015-05-27 10:58:44 +0530
commita83b57aee80959f11f96ad6a3a738c9fac906e26 (patch)
treef14a18f7e821d87b098a93610ece8772d568563b /testapp/tests/test_code_evaluation.py
parenta022e0145ec8fb1622d58c2e2281c016b1d45b01 (diff)
parent92150265c82f3d1f6e4eb382447ae8e448cd406f (diff)
downloadonline_test-a83b57aee80959f11f96ad6a3a738c9fac906e26.tar.gz
online_test-a83b57aee80959f11f96ad6a3a738c9fac906e26.tar.bz2
online_test-a83b57aee80959f11f96ad6a3a738c9fac906e26.zip
Merge pull request #48 from ankitjavalkar/add-docs
Re apply docs directory in testapp directory and other changes
Diffstat (limited to 'testapp/tests/test_code_evaluation.py')
-rw-r--r--testapp/tests/test_code_evaluation.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/testapp/tests/test_code_evaluation.py b/testapp/tests/test_code_evaluation.py
index fa2b1fa..a13eccc 100644
--- a/testapp/tests/test_code_evaluation.py
+++ b/testapp/tests/test_code_evaluation.py
@@ -1,8 +1,8 @@
import unittest
import os
-from exam import python_code_evaluator
-from exam.language_registry import _LanguageRegistry, set_registry, get_registry
-from exam.settings import SERVER_TIMEOUT
+from testapp.exam import python_code_evaluator
+from testapp.exam.language_registry import _LanguageRegistry, set_registry, get_registry
+from testapp.exam.settings import SERVER_TIMEOUT
class RegistryTestCase(unittest.TestCase):
@@ -13,7 +13,7 @@ class RegistryTestCase(unittest.TestCase):
def test_set_register(self):
class_name = getattr(python_code_evaluator, 'PythonCodeEvaluator')
- self.registry_object.register("python", "exam.python_code_evaluator.PythonCodeEvaluator")
+ self.registry_object.register("python", "testapp.exam.python_code_evaluator.PythonCodeEvaluator")
self.assertEquals(self.registry_object.get_class("python"), class_name)
def tearDown(self):
@@ -21,4 +21,4 @@ class RegistryTestCase(unittest.TestCase):
if __name__ == '__main__':
- unittest.main() \ No newline at end of file
+ unittest.main()