diff options
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/test_models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py index 3909652..7e79b09 100644 --- a/yaksh/test_models.py +++ b/yaksh/test_models.py @@ -2,7 +2,7 @@ import unittest from yaksh.models import User, Profile, Question, Quiz, QuestionPaper,\ QuestionSet, AnswerPaper, Answer, Course, StandardTestCase,\ StdioBasedTestCase, FileUpload, McqTestCase -from yaksh.code_server import ServerPool, SERVER_POOL_PORT +from yaksh.code_server import ServerPool from yaksh import settings from yaksh.xmlrpc_clients import CodeServerProxy import json @@ -526,7 +526,7 @@ class AnswerPaperTestCases(unittest.TestCase): settings.code_evaluators['python']['standardtestcase'] = \ "yaksh.python_assertion_evaluator.PythonAssertionEvaluator" ports = range(9001, 9002) - server_pool = ServerPool(ports=ports, pool_port=SERVER_POOL_PORT) + server_pool = ServerPool(ports=ports, pool_port=56782) self.server_pool = server_pool self.server_thread = t = Thread(target=server_pool.run) t.start() |