]> git.ipfire.org Git - nitsi.git/blobdiff - test.py
Update example test settings
[nitsi.git] / test.py
diff --git a/test.py b/test.py
index 89fe75cc7ddc53a3f650bb2ff03712ac9e8f3f20..c2d62ce9412efd9c99e8b60f8bd337fed0c9853a 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -84,9 +84,11 @@ class test():
     def load_recipe(self):
         try:
             self.recipe = recipe(self.recipe_file)
-        except BaseException:
+            for line in self.recipe.recipe:
+                self.log.debug(line)
+        except BaseException as e:
             self.log.error("Failed to load recipe")
-            exit(1)
+            raise e
 
     def run_recipe(self):
         for line in self.recipe.recipe: