spatial-d4science/ckanext/spatial/tests
amercader e12e38cab0 Improvements on the validation code
To make easier to filter and display errors on the UI, the validators
have been modified to return the message and line number separately. The
return format for validators is now:

(is_valid, [(error_message_string, error_line_number)])

Also the XSD based validators were returning only the last error found on
the document, instead of iterating the whole error log. Harvesters should
create a harvest object error for each of this validation errors.

Tests have been adapted to these changes.
2012-11-19 17:15:16 +00:00
..
functional Fix failing tests 2012-10-22 19:44:33 +01:00
scripts [tests] Add tests 2011-10-16 23:40:19 +01:00
xml Reorganise XML test files into more sensible directory names. Add lower level validation tests. 2012-10-19 14:23:34 +01:00
__init__.py Missed off some files from the previous commit., 2012-10-19 12:14:09 +01:00
base.py Merged in ckanext-inspire. 2012-10-19 11:19:01 +01:00
test_api.py Merged in ckanext-inspire. 2012-10-19 11:19:01 +01:00
test_csw_client.py Merged in ckanext-inspire. 2012-10-19 11:19:01 +01:00
test_harvest.py Fix failing tests 2012-10-22 19:44:33 +01:00
test_model.py Merged in ckanext-inspire. 2012-10-19 11:19:01 +01:00
test_validation.py Improvements on the validation code 2012-11-19 17:15:16 +00:00
xml_file_server.py Reorganise XML test files into more sensible directory names. Add lower level validation tests. 2012-10-19 14:23:34 +01:00