Skip to content

Commit 1f56de3

Browse files
committed
fixed tests
1 parent a111fa9 commit 1f56de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_controls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ def test_dream_nSamples_error(self, value: int) -> None:
859859
@pytest.mark.parametrize("value", [-5, 0])
860860
def test_dream_nChains_error(self, value: int) -> None:
861861
"""Tests the nChains setter error in Dream class."""
862-
with pytest.raises(pydantic.ValidationError, match="Input should be greater than 0"):
862+
with pytest.raises(pydantic.ValidationError, match="Input should be greater than 1"):
863863
self.dream.nChains = value
864864

865865
def test_control_class_dream_str(self, table_str) -> None:

0 commit comments

Comments
 (0)