summaryrefslogtreecommitdiff
path: root/testapp/tests
diff options
context:
space:
mode:
authorankitjavalkar2015-09-11 12:35:09 +0530
committerankitjavalkar2015-09-14 12:00:53 +0530
commit32cde26f9807a29eb1fae0833e353212d43d7802 (patch)
tree52423f2c68ee22d4375eef86a3950d169410fe55 /testapp/tests
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')
-rw-r--r--testapp/tests/test_bash_evaluation.py4
-rw-r--r--testapp/tests/test_c_cpp_evaluation.py4
-rw-r--r--testapp/tests/test_code_evaluation.py8
-rw-r--r--testapp/tests/test_java_evaluation.py4
-rw-r--r--testapp/tests/test_python_evaluation.py4
-rw-r--r--testapp/tests/test_scilab_evaluation.py4
6 files changed, 14 insertions, 14 deletions
diff --git a/testapp/tests/test_bash_evaluation.py b/testapp/tests/test_bash_evaluation.py
index 924c560..4f7e4b6 100644
--- a/testapp/tests/test_bash_evaluation.py
+++ b/testapp/tests/test_bash_evaluation.py
@@ -1,7 +1,7 @@
import unittest
import os
-from testapp.yaksh_app.bash_code_evaluator import BashCodeEvaluator
-from testapp.yaksh_app.settings import SERVER_TIMEOUT
+from testapp.yaksh.bash_code_evaluator import BashCodeEvaluator
+from testapp.yaksh.settings import SERVER_TIMEOUT
class BashEvaluationTestCases(unittest.TestCase):
def setUp(self):
diff --git a/testapp/tests/test_c_cpp_evaluation.py b/testapp/tests/test_c_cpp_evaluation.py
index 3d7f09d..9cbc013 100644
--- a/testapp/tests/test_c_cpp_evaluation.py
+++ b/testapp/tests/test_c_cpp_evaluation.py
@@ -1,7 +1,7 @@
import unittest
import os
-from testapp.yaksh_app.cpp_code_evaluator import CppCodeEvaluator
-from testapp.yaksh_app.settings import SERVER_TIMEOUT
+from testapp.yaksh.cpp_code_evaluator import CppCodeEvaluator
+from testapp.yaksh.settings import SERVER_TIMEOUT
class CEvaluationTestCases(unittest.TestCase):
def setUp(self):
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):
diff --git a/testapp/tests/test_java_evaluation.py b/testapp/tests/test_java_evaluation.py
index 8e1fdeb..92339e4 100644
--- a/testapp/tests/test_java_evaluation.py
+++ b/testapp/tests/test_java_evaluation.py
@@ -1,7 +1,7 @@
import unittest
import os
-from testapp.yaksh_app import code_evaluator as evaluator
-from testapp.yaksh_app.java_code_evaluator import JavaCodeEvaluator
+from testapp.yaksh import code_evaluator as evaluator
+from testapp.yaksh.java_code_evaluator import JavaCodeEvaluator
class JavaEvaluationTestCases(unittest.TestCase):
diff --git a/testapp/tests/test_python_evaluation.py b/testapp/tests/test_python_evaluation.py
index 7039b75..ea01fa8 100644
--- a/testapp/tests/test_python_evaluation.py
+++ b/testapp/tests/test_python_evaluation.py
@@ -1,7 +1,7 @@
import unittest
import os
-from testapp.yaksh_app.python_code_evaluator import PythonCodeEvaluator
-from testapp.yaksh_app.settings import SERVER_TIMEOUT
+from testapp.yaksh.python_code_evaluator import PythonCodeEvaluator
+from testapp.yaksh.settings import SERVER_TIMEOUT
class PythonEvaluationTestCases(unittest.TestCase):
def setUp(self):
diff --git a/testapp/tests/test_scilab_evaluation.py b/testapp/tests/test_scilab_evaluation.py
index 346060a..4d05426 100644
--- a/testapp/tests/test_scilab_evaluation.py
+++ b/testapp/tests/test_scilab_evaluation.py
@@ -1,7 +1,7 @@
import unittest
import os
-from testapp.yaksh_app.scilab_code_evaluator import ScilabCodeEvaluator
-from testapp.yaksh_app.settings import SERVER_TIMEOUT
+from testapp.yaksh.scilab_code_evaluator import ScilabCodeEvaluator
+from testapp.yaksh.settings import SERVER_TIMEOUT
class ScilabEvaluationTestCases(unittest.TestCase):
def setUp(self):