From d08af6e795bf2c0edc50fd9a61a924a588f8e7ad Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 23 Sep 2016 15:21:14 +0530 Subject: for test to pass --- yaksh/test_models.py | 4 ++-- 1 file 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() -- cgit