[elbe-devel] [PATCH 2/2] test: callable params example

Torben Hohn torben.hohn at linutronix.de
Wed Jul 22 17:55:11 CEST 2020


Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/tests/test_doctest.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/elbepack/tests/test_doctest.py b/elbepack/tests/test_doctest.py
index a908f9e8c..7b660169a 100644
--- a/elbepack/tests/test_doctest.py
+++ b/elbepack/tests/test_doctest.py
@@ -13,7 +13,9 @@ from elbepack.commands.test import ElbeTestCase
 
 class ElbeDocTest(ElbeTestCase):
 
-    params = [shellhelper, filesystem]
+    @classmethod
+    def params(_cls):
+        return [shellhelper, filesystem]
 
     def setUp(self):
 
-- 
2.20.1



More information about the elbe-devel mailing list