Skip to content
Snippets Groups Projects
Commit 778ab044 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

DOC: add comment to test

parent 135faa6f
No related branches found
No related tags found
2 merge requests!59FIX: if multiple updates for one entity exist, the retrieve would result in an...,!58FIX: if multiple updates for one entity exist, the retrieve would result in an...
Pipeline #29101 passed
...@@ -336,6 +336,7 @@ class MealTest(unittest.TestCase): ...@@ -336,6 +336,7 @@ class MealTest(unittest.TestCase):
class FileCacheTest(unittest.TestCase): class FileCacheTest(unittest.TestCase):
def test(self): def test(self):
# if there is no connection to a server an exception should be raised.
self.assertRaises(Exception, get_entity_for_path, "/lol") self.assertRaises(Exception, get_entity_for_path, "/lol")
FileCrawler(cfood_types=[], files=[db.File(path="/lol")]) FileCrawler(cfood_types=[], files=[db.File(path="/lol")])
get_entity_for_path("/lol") get_entity_for_path("/lol")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment