summaryrefslogtreecommitdiff
path: root/testapp/tests/test_code_evaluation.py
diff options
context:
space:
mode:
authorankitjavalkar2015-09-11 12:35:09 +0530
committerankitjavalkar2015-09-14 12:00:53 +0530
commit32cde26f9807a29eb1fae0833e353212d43d7802 (patch)
tree52423f2c68ee22d4375eef86a3950d169410fe55 /testapp/tests/test_code_evaluation.py
parentae10d36297797ffc53275eabe3acfa0cb4bf3b11 (diff)
downloadonline_test-32cde26f9807a29eb1fae0833e353212d43d7802.tar.gz
online_test-32cde26f9807a29eb1fae0833e353212d43d7802.tar.bz2
online_test-32cde26f9807a29eb1fae0833e353212d43d7802.zip
Change app name to 'yaksh'
Diffstat (limited to 'testapp/tests/test_code_evaluation.py')
-rw-r--r--testapp/tests/test_code_evaluation.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/testapp/tests/test_code_evaluation.py b/testapp/tests/test_code_evaluation.py
index 9f0885f..10b88b5 100644
--- a/testapp/tests/test_code_evaluation.py
+++ b/testapp/tests/test_code_evaluation.py
@@ -1,8 +1,8 @@
import unittest
import os
-from testapp.yaksh_app import python_code_evaluator
-from testapp.yaksh_app.language_registry import _LanguageRegistry, set_registry, get_registry
-from testapp.yaksh_app.settings import SERVER_TIMEOUT
+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):
@@ -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", "testapp.yaksh_app.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):