Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Dec 27, 2024
1 parent 74b8617 commit 4d9895a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_instruments_qm.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_qm_register_port(qmcontroller, offset):
controllers = qmcontroller.config.controllers
assert controllers == {
"con1": {
"analog_inputs": {1: {}, 2: {}},
"analog_inputs": {1: {"offset": 0}, 2: {"offset": 0}},
"analog_outputs": {1: {"offset": offset, "filter": {}}},
"digital_outputs": {},
}
Expand All @@ -173,7 +173,7 @@ def test_qm_register_port_filter(qmcontroller):
controllers = qmcontroller.config.controllers
assert controllers == {
"con1": {
"analog_inputs": {1: {}, 2: {}},
"analog_inputs": {1: {"offset": 0}, 2: {"offset": 0}},
"analog_outputs": {
2: {
"filter": {"feedback": [0.95], "feedforward": [1, -1]},
Expand Down

0 comments on commit 4d9895a

Please sign in to comment.