From 2717f16902c9b99d129647ac50ab6f5217ecd863 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Fri, 5 May 2023 11:11:52 +0200
Subject: [PATCH] fix

---
 unittests/test_tool.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/unittests/test_tool.py b/unittests/test_tool.py
index 90d10cf7..ec3e0bb9 100755
--- a/unittests/test_tool.py
+++ b/unittests/test_tool.py
@@ -589,8 +589,8 @@ def test_replace_entities_with_ids(crawler):
 
 
 def mock_get_entity_by(eid=None, name=None):
-    if id is not None:
-        candidates = [el for el in list(full_data.values()) if el.id == id]
+    if eid is not None:
+        candidates = [el for el in list(full_data.values()) if el.id == eid]
         if len(candidates) > 0:
             return candidates[0]
         else:
-- 
GitLab