From 778ab04499389fcb3d971fcba4a916251abcba1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Sat, 8 Oct 2022 13:34:41 +0200 Subject: [PATCH] DOC: add comment to test --- unittests/test_cfood.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unittests/test_cfood.py b/unittests/test_cfood.py index 7055bc7c..62e4b114 100644 --- a/unittests/test_cfood.py +++ b/unittests/test_cfood.py @@ -336,6 +336,7 @@ class MealTest(unittest.TestCase): class FileCacheTest(unittest.TestCase): def test(self): + # if there is no connection to a server an exception should be raised. self.assertRaises(Exception, get_entity_for_path, "/lol") FileCrawler(cfood_types=[], files=[db.File(path="/lol")]) get_entity_for_path("/lol") -- GitLab