From bb76e0a25b113b0f40b47f19eaa2c053e0b4e423 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Thu, 2 Jun 2016 16:00:27 +0530 Subject: changed model class name Stdout to Stdio --- yaksh/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'yaksh/tests.py') diff --git a/yaksh/tests.py b/yaksh/tests.py index 8bd2dda..5b87fc1 100644 --- a/yaksh/tests.py +++ b/yaksh/tests.py @@ -1,7 +1,7 @@ import unittest from yaksh.models import User, Profile, Question, Quiz, QuestionPaper,\ QuestionSet, AnswerPaper, Answer, Course, StandardTestCase,\ - StdoutBasedTestCase + StdioBasedTestCase import json from datetime import datetime, timedelta from django.utils import timezone @@ -632,7 +632,7 @@ class TestCaseTestCases(unittest.TestCase): active=True, description='Write to standard output', points=1.0, - test_case_type="stdoutbasedtestcase", + test_case_type="stdiobasedtestcase", user=self.user, snippet='def myfunc()' ) @@ -642,7 +642,7 @@ class TestCaseTestCases(unittest.TestCase): question=self.question1, test_case='assert myfunc(12, 13) == 15' ) - self.stdout_based_testcase = StdoutBasedTestCase( + self.stdout_based_testcase = StdioBasedTestCase( question=self.question2, expected_output='Hello World' ) -- cgit