From 3b7f0bebaac7c60e9a53a594c8a25160c8cdd82b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Mon, 8 Jun 2020 14:10:03 +0200
Subject: [PATCH] FIX: correct names of tags according to
 https://doi.org/10.3390/data5020043

---
 integrationtests/full_test/test_crawler.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/integrationtests/full_test/test_crawler.py b/integrationtests/full_test/test_crawler.py
index 485766f9..cf399bfb 100755
--- a/integrationtests/full_test/test_crawler.py
+++ b/integrationtests/full_test/test_crawler.py
@@ -97,7 +97,7 @@ class CrawlerTest(unittest.TestCase):
 
         # Should reference an experiment
         sources = [get_entity_with_id(el) for el in
-                   ana.get_property("source").value]
+                   ana.get_property("sources").value]
         count = 0
 
         for s in sources:
@@ -125,7 +125,7 @@ class CrawlerTest(unittest.TestCase):
 
         # Should reference an experiment
         sources = [get_entity_with_id(el) for el in
-                   ana.get_property("source").value]
+                   ana.get_property("sources").value]
         count = 0
 
         for s in sources:
@@ -180,7 +180,7 @@ class CrawlerTest(unittest.TestCase):
             unique=True)
 
         sources = [get_entity_with_id(el) for el in
-                   sim.get_property("source").value]
+                   sim.get_property("sources").value]
         count = 0
 
         for s in sources:
@@ -229,7 +229,7 @@ class CrawlerTest(unittest.TestCase):
         assert os.path.basename(datfile.path) == "poster.pdf"
 
         # There should be a file as data attached
-        datfile_id = pub.get_property("source").value[1]
+        datfile_id = pub.get_property("sources").value[1]
         datfile = get_entity_with_id(datfile_id)
         assert os.path.basename(datfile.path) == "results.pdf"
 
-- 
GitLab