From 919fbae7950edd38830349450bc82cf8ca1983b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20M=C3=BCller?= <mueller.seb@posteo.de>
Date: Mon, 1 Jul 2024 18:30:39 +0200
Subject: [PATCH] tests: another composition status check fix

---
 tests/core/test_schedule.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/core/test_schedule.py b/tests/core/test_schedule.py
index 29eaeb44..5a578134 100644
--- a/tests/core/test_schedule.py
+++ b/tests/core/test_schedule.py
@@ -333,9 +333,9 @@ class TestComposition(unittest.TestCase):
         module1 = MockupComponent(
             callbacks={"Output": lambda t: t}, step=timedelta(1.0)
         )
-        composition = Composition([module1])
 
         with self.assertRaises(FinamStatusError):
+            Composition([module1])
 
     def test_fail_double_connect(self):
         module1 = MockupComponent(
-- 
GitLab