Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yomach committed Dec 5, 2023
1 parent a4a5402 commit 6e458d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_config_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def test_deprecated_warning():

cb.add(elm)
cb.build()
assert len(record.list) == 1
assert len(record.list) == 2

with pytest.warns(None) as record:
cb = ConfigBuilder()
Expand All @@ -387,7 +387,7 @@ def test_deprecated_warning():
)
cb.add(elm)
cb.build()
assert len(record.list) == 0
assert len(record.list) == 1

def test_digital_input():
cont = Controller("con1")
Expand Down

0 comments on commit 6e458d3

Please sign in to comment.