From f9e5f0722fcb9f695618226697a750db8509b407 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Fri, 1 Apr 2022 14:13:21 +0200
Subject: [PATCH] WIP: Pipeline requirements.

---
 unittests/test_cfood.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/unittests/test_cfood.py b/unittests/test_cfood.py
index f5125166..7055bc7c 100644
--- a/unittests/test_cfood.py
+++ b/unittests/test_cfood.py
@@ -48,13 +48,14 @@ class ExampleCFoodMeal(AbstractFileCFood, CMeal):
         CMeal.__init__(self)
 
     @classmethod
-    def match_item(cls, item):
+    def match_item(cls, path):
         """ standard match_match, but returns False if a suitable cfood exists """
 
-        if cls.has_suitable_cfood(item):
+        print(path)
+        if cls.has_suitable_cfood(path):
             return False
 
-        return re.match(cls.get_re(), item) is not None
+        return re.match(cls.get_re(), path) is not None
 
     def looking_for(self, crawled_file):
         """ standard looking_for, but returns True if the file matches all
-- 
GitLab