diff options
author | gasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2014-11-24 15:55:22 +0000 |
---|---|---|
committer | gasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2014-11-24 15:55:22 +0000 |
commit | d1ab13f03d125553447cb59cb9b1ba15abbc7605 (patch) | |
tree | f044513fe17152302e2bad4c0185cbc0c63183e7 /kpov_judge | |
parent | 71cecca5bfb2e05fe7f195f7c0b23c8242fcdd3e (diff) |
Fixed README
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@11 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge')
-rw-r--r-- | kpov_judge/README.txt | 2 | ||||
-rwxr-xr-x | kpov_judge/run_test.py | 2 |
2 files changed, 3 insertions, 1 deletions
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) |