diff --git a/unittests/test_cfood.py b/unittests/test_cfood.py index 7055bc7c51962c0cbc487f29bcdacb391218a7d3..62e4b114a1c5cd8f3631f774637f3876c545afd3 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")