10 lines
231 B
Python
Raw Permalink Normal View History

2026-08-16 22:04:11 +03:00
import pytest
from lawsynth_server.errors import ValidationError
from lawsynth_server.settings import Settings
def test_settings_reject_invalid_limit():
with pytest.raises(ValidationError):
Settings(max_page_size=0)