<option value="this_value" tal:attributes="selected python:test(my_value=='this_value','selected',)">this value</option>