From 92150265c82f3d1f6e4eb382447ae8e448cd406f Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 13 May 2015 18:20:26 +0530 Subject: Fix import paths, formatting, views and minor errors - Submitted file path should be set after changing directory - Change timeout duration in java test case - Set shell=True in _compile_command - Fix errors in code as per tests --- testapp/tests/test_c_cpp_evaluation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testapp/tests/test_c_cpp_evaluation.py') diff --git a/testapp/tests/test_c_cpp_evaluation.py b/testapp/tests/test_c_cpp_evaluation.py index b820963..fbb8769 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 exam.cpp_code_evaluator import CppCodeEvaluator -from exam.settings import SERVER_TIMEOUT +from testapp.exam.cpp_code_evaluator import CppCodeEvaluator +from testapp.exam.settings import SERVER_TIMEOUT class CEvaluationTestCases(unittest.TestCase): def setUp(self): @@ -74,4 +74,4 @@ class CppEvaluationTestCases(unittest.TestCase): self.assertEquals(result.get("error"), self.timeout_msg) if __name__ == '__main__': - unittest.main() \ No newline at end of file + unittest.main() -- cgit