From d1ab13f03d125553447cb59cb9b1ba15abbc7605 Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Mon, 24 Nov 2014 15:55:22 +0000 Subject: Fixed README git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@11 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/README.txt | 2 ++ kpov_judge/run_test.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kpov_judge/README.txt b/kpov_judge/README.txt index 82d5cbd..b075231 100644 --- a/kpov_judge/README.txt +++ b/kpov_judge/README.txt @@ -96,6 +96,8 @@ Preparing tasks - write a task(...) function which returns a simple string - write a task_check function which simply prints out the parameter results + - write a gen_params(user_id, params_meta) function + - run test_task -g to test gen_params and set the initial task parameters - debug everything you have created so far by performing the task and running test_task.py as many times as needed - write the task_check and gen_params functions diff --git a/kpov_judge/run_test.py b/kpov_judge/run_test.py index 2a2155b..7962a07 100755 --- a/kpov_judge/run_test.py +++ b/kpov_judge/run_test.py @@ -44,7 +44,7 @@ def auth_open(url, username, password): # Now all calls to urllib2.urlopen use our opener. urllib2.install_opener(opener) -def load_checker(request): +def load_checker(response): source = response.read() t = compile(source, 'task.py', 'exec') exec(t) -- cgit v1.2.1