From 0e71f1d97f142243e5c8ac3a26501ddba69fc614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Tue, 17 Dec 2019 11:47:38 +0100 Subject: [PATCH] MAINT: change test scenario --- .../2010_TestProject/2019-02-03_something/README.md | 2 +- integrationtests/full_test/test_crawler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integrationtests/full_test/extroot/SimulationData/2010_TestProject/2019-02-03_something/README.md b/integrationtests/full_test/extroot/SimulationData/2010_TestProject/2019-02-03_something/README.md index 041aed60..1dde674c 100644 --- a/integrationtests/full_test/extroot/SimulationData/2010_TestProject/2019-02-03_something/README.md +++ b/integrationtests/full_test/extroot/SimulationData/2010_TestProject/2019-02-03_something/README.md @@ -16,7 +16,7 @@ revisonOf: - ../2019-02-03 source: -- /ExperimentalData/2010_TestProject/2019-02-03/* +- /ExperimentalData/2010_TestProject/2019-02-03/ tags: - collagen diff --git a/integrationtests/full_test/test_crawler.py b/integrationtests/full_test/test_crawler.py index 105e98f2..485766f9 100755 --- a/integrationtests/full_test/test_crawler.py +++ b/integrationtests/full_test/test_crawler.py @@ -187,7 +187,7 @@ class CrawlerTest(unittest.TestCase): if len(s.parents) > 0 and s.parents[0].name == "Experiment": count += 1 self.assertEqual(count, 1) - self.assertEqual(len(sources), 3) + self.assertEqual(len(sources), 1) # Should be the same project assert project_id == sim.get_property("Project").value -- GitLab