diff --git a/tests/test_config_wiring.py b/tests/test_config_wiring.py index c7923d0..5b333fd 100644 --- a/tests/test_config_wiring.py +++ b/tests/test_config_wiring.py @@ -1029,6 +1029,8 @@ def __iter__(self): return self def __next__(self): + if self.read_count >= 5: + raise StopIteration self.read_count += 1 return f"value-{self.read_count}"