Commit 25fd2619 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Tests using 2 muxes

Showing with 1 addition and 1 deletion
+1 -1
...@@ -93,7 +93,7 @@ class OhmPiHardware: ...@@ -93,7 +93,7 @@ class OhmPiHardware:
self._cabling = kwargs.pop('cabling', {}) self._cabling = kwargs.pop('cabling', {})
self.mux_boards = {} self.mux_boards = {}
for mux_id, mux_config in HARDWARE_CONFIG['mux'].items(): for mux_id, mux_config in HARDWARE_CONFIG['mux'].items():
mux_config.pop('model') mux_config.pop('model', '')
constructor = mux_config.pop('constructor') constructor = mux_config.pop('constructor')
ctl = mux_config.pop('ctl', self.ctl) ctl = mux_config.pop('ctl', self.ctl)
if isinstance(ctl, dict): if isinstance(ctl, dict):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment