def test_modification_validation(mock_record):
    """Test calling list methods on cursor respects validation"""

    mock_record['Text List'].append('text')

    with pytest.raises(ValidationError):
        mock_record['Text List'].append(123)