Test should be OK

Re: Test should be OK

de către Richard Lobb-
Număr de răspunsuri: 0

Hi Philippe

I think you must have a broken template or question type. Your question works fine with the built-in Python3 question type.

Your result table has no 'Got' column, which means there was no output from either test, which suggests to me that the actual test code is not being included in the run.

The way to debug weird problems like this is to turn on Template Debugging. That will show you exactly what programs are being run. In this case there should be 3 runs: a combinator template run, which will fail with a runtime error because of the second test, followed by two per-test-case combinator template runs yielding a correct answer for the first test but a runtime error for the second.

Richard