From afeeff3c59eb3f2565253715476432a1bf45fc15 Mon Sep 17 00:00:00 2001 From: Tue Herlau <tuhe@dtu.dk> Date: Mon, 23 May 2022 16:35:43 +0200 Subject: [PATCH] updates --- src/unitgrade/framework.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/unitgrade/framework.py b/src/unitgrade/framework.py index 09bc054..badb2d4 100644 --- a/src/unitgrade/framework.py +++ b/src/unitgrade/framework.py @@ -480,7 +480,7 @@ class UTestCase(unittest.TestCase): CC = self._cache_get(key) cl, m = self.cache_id() gprint(f"> An error occured while solving: {cl}.{m}. The files/methods you need to edit are:") # For the test {id} in {file} you should edit:") - for file in CC: + for file in CC: rec = CC[file] gprint(f"> * {file}") for l in rec: @@ -492,6 +492,7 @@ class UTestCase(unittest.TestCase): gprint(f"> - {l}") er = er[0] + doc = er._testMethodDoc # print("doc", doc) if doc is not None: -- GitLab