From b9f81da356cd0eb2e1bdc7970e7efa4985018ad0 Mon Sep 17 00:00:00 2001
From: leufen1 <l.leufen@fz-juelich.de>
Date: Thu, 21 Jul 2022 15:21:22 +0200
Subject: [PATCH] correct tests

---
 test/test_run_modules/test_model_setup.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/test_run_modules/test_model_setup.py b/test/test_run_modules/test_model_setup.py
index 83fe409f..295954a7 100644
--- a/test/test_run_modules/test_model_setup.py
+++ b/test/test_run_modules/test_model_setup.py
@@ -139,6 +139,8 @@ class DummyData:
 
     def __init__(self, number_of_samples=np.random.randint(100, 150)):
         self.number_of_samples = number_of_samples
+        self._len = self.number_of_samples
+        self._len_upsampling = self.number_of_samples
 
     def __len__(self, upsampling=False):
         if upsampling is False:
-- 
GitLab