From 69b2bd79ec95e68d0ce5b846ba2862b11abde3a1 Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Wed, 26 Apr 2023 16:27:28 +0200
Subject: [PATCH] Tries to implement switch_on in mux_2024

---
 test_mux_2024.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test_mux_2024.py b/test_mux_2024.py
index dc0e48b6..657e0bc7 100644
--- a/test_mux_2024.py
+++ b/test_mux_2024.py
@@ -9,5 +9,7 @@ mux = Mux(**MUX_CONFIG)
 mux.switch_one(elec=1, role='M', state='on')
 time.sleep(2)
 mux.switch_one(elec=1, role='M', state='off')
-mux.switch({'A': [1], 'B': [4], 'M': [2], 'N': [3]})
+mux.switch({'A': [1], 'B': [4], 'M': [2], 'N': [3]}, state='on')
+time.sleep(4)
+mux.switch({'A': [1], 'B': [4], 'M': [2], 'N': [3]}, state='off')
 change_config('config_default.py', verbose=False)
-- 
GitLab