changeset 179:a55a1e00e121

Renamed load_problem to load_testcases
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 20 Jun 2011 17:56:47 +0300
parents 0d657576b1ac
children 760d38ee86d6
files upreckon/problem.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/upreckon/problem.py	Mon Jun 20 17:52:09 2011 +0300
+++ b/upreckon/problem.py	Mon Jun 20 17:56:47 2011 +0300
@@ -112,7 +112,7 @@
 		prob.name = name
 		prob.config = config.load_problem(name)
 		prob.cache = Cache({'padoutput': 0})
-		prob.testcases = load_problem(prob)
+		prob.testcases = load_testcases(prob)
 	
 	# TODO
 	def build(prob):
@@ -236,8 +236,8 @@
 							pass
 
 
-def load_problem(prob, _types={'batch'  : testcases.BatchTestCase,
-                               'outonly': testcases.OutputOnlyTestCase}):
+def load_testcases(prob, _types={'batch'  : testcases.BatchTestCase,
+                                 'outonly': testcases.OutputOnlyTestCase}):
 	# We will need to iterate over these configuration variables twice
 	try:
 		len(prob.config.dummies)