From 5a6237fc92fc57f87fe3f11144e4ade5baa96350 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 22 Sep 2015 12:03:57 +0200 Subject: Update test functions for existing problems The test function is now expected to return a boolean indicating whether the program is correct and a list of hint objects. --- python/sl.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/sl.py') diff --git a/python/sl.py b/python/sl.py index a4d4065..e7bbed4 100644 --- a/python/sl.py +++ b/python/sl.py @@ -34,6 +34,10 @@ Npr., sešteti niz in število ali klicati funkcijo, čeprav tisto ni funkcija, hint = { 'no_hint': ['''\

Namig ne obstaja! Poskusi uporabiti misli.

+'''], + + 'system_error': ['''\ +

Sistemska napaka: [%=message%].

'''], 'test_results': ['''\ -- cgit v1.2.1