sissaschool / xmlschema

XML Schema validator and data conversion library for Python
MIT License
415 stars 73 forks source link

test_export_remote__issue_187 tests are failing #206

Closed mcepl closed 3 years ago

mcepl commented 4 years ago
[   17s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-xmlschema-1.2.5-0.x86_64/usr/lib/python3.8/site-packages
[   17s] + PYTHONDONTWRITEBYTECODE=1
[   17s] + pytest-3.8 --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v -k 'not (test_element_tree_import_script or tests_factory)' tests
[   18s] ============================= test session starts ==============================
[   18s] platform linux -- Python 3.8.5, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3
[   18s] cachedir: .pytest_cache
[   18s] rootdir: /home/abuild/rpmbuild/BUILD/xmlschema-1.2.5
[   18s] collecting ... collected 638 items / 3 deselected / 635 selected
[   18s] 
[   18s] tests/test_cli.py::TestConsoleScripts::test_json2xml_command_01 PASSED   [  0%]
[   18s] tests/test_cli.py::TestConsoleScripts::test_json2xml_command_02 PASSED   [  0%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_json2xml_command_03 PASSED   [  0%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_validate_command_01 PASSED   [  0%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_validate_command_02 PASSED   [  0%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_validate_command_03 PASSED   [  0%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_validate_command_04 PASSED   [  1%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_validate_command_05 PASSED   [  1%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_validate_command_06 PASSED   [  1%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_validate_command_07 PASSED   [  1%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_validate_command_08 PASSED   [  1%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_xml2json_command_01 PASSED   [  1%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_xml2json_command_02 PASSED   [  2%]
[   19s] tests/test_cli.py::TestConsoleScripts::test_xml2json_command_03 PASSED   [  2%]
[   19s] tests/test_converters.py::TestConverters::test_cdata_mapping PASSED      [  2%]
[   19s] tests/test_converters.py::TestConverters::test_element_class_argument PASSED [  2%]
[   19s] tests/test_converters.py::TestConverters::test_etree_element_method PASSED [  2%]
[   19s] tests/test_converters.py::TestConverters::test_lossy_property PASSED     [  2%]
[   19s] tests/test_converters.py::TestConverters::test_parquet_converter PASSED  [  2%]
[   19s] tests/test_converters.py::TestConverters::test_prefix_arguments PASSED   [  3%]
[   19s] tests/test_converters.py::TestConverters::test_strip_namespace_argument PASSED [  3%]
[   19s] tests/test_etree.py::TestElementTree::test_element_string_serialization PASSED [  3%]
[   19s] tests/test_etree.py::TestElementTree::test_import_element_tree_after PASSED [  3%]
[   19s] tests/test_etree.py::TestElementTree::test_import_element_tree_before PASSED [  3%]
[   19s] tests/test_etree.py::TestElementTree::test_safe_xml_parser PASSED        [  3%]
[   19s] tests/test_helpers.py::TestHelpers::test_count_digits_function PASSED    [  4%]
[   19s] tests/test_helpers.py::TestHelpers::test_get_xsd_annotation PASSED       [  4%]
[   19s] tests/test_helpers.py::TestHelpers::test_get_xsd_derivation_attribute PASSED [  4%]
[   19s] tests/test_helpers.py::TestHelpers::test_get_xsd_form_attribute PASSED   [  4%]
[   19s] tests/test_helpers.py::TestHelpers::test_iter_nested_items_function PASSED [  4%]
[   19s] tests/test_helpers.py::TestHelpers::test_parse_component PASSED          [  4%]
[   19s] tests/test_helpers.py::TestHelpers::test_particle_counter_class PASSED   [  5%]
[   19s] tests/test_helpers.py::TestHelpers::test_raw_xml_encode_function PASSED  [  5%]
[   19s] tests/test_helpers.py::TestHelpers::test_strictly_equal_function PASSED  [  5%]
[   19s] tests/test_helpers.py::TestElementTreeHelpers::test_prune_etree_function PASSED [  5%]
[   19s] tests/test_namespaces.py::TestNamespaceResourcesMap::test_dictionary_methods PASSED [  5%]
[   19s] tests/test_namespaces.py::TestNamespaceResourcesMap::test_init PASSED    [  5%]
[   19s] tests/test_namespaces.py::TestNamespaceResourcesMap::test_repr PASSED    [  5%]
[   19s] tests/test_namespaces.py::TestNamespaceMapper::test_default_namespace PASSED [  6%]
[   19s] tests/test_namespaces.py::TestNamespaceMapper::test_dictionary_methods PASSED [  6%]
[   19s] tests/test_namespaces.py::TestNamespaceMapper::test_init PASSED          [  6%]
[   19s] tests/test_namespaces.py::TestNamespaceMapper::test_insert_item PASSED   [  6%]
[   19s] tests/test_namespaces.py::TestNamespaceMapper::test_map_qname PASSED     [  6%]
[   19s] tests/test_namespaces.py::TestNamespaceMapper::test_strip_namespaces PASSED [  6%]
[   19s] tests/test_namespaces.py::TestNamespaceMapper::test_transfer PASSED      [  7%]
[   19s] tests/test_namespaces.py::TestNamespaceMapper::test_unmap_qname PASSED   [  7%]
[   19s] tests/test_namespaces.py::TestNamespaceView::test_as_dict PASSED         [  7%]
[   19s] tests/test_namespaces.py::TestNamespaceView::test_init PASSED            [  7%]
[   19s] tests/test_namespaces.py::TestNamespaceView::test_repr PASSED            [  7%]
[   19s] tests/test_package.py::TestPackaging::test_base_schema_files PASSED      [  7%]
[   19s] tests/test_package.py::TestPackaging::test_missing_debug_statements PASSED [  8%]
[   19s] tests/test_package.py::TestPackaging::test_version PASSED                [  8%]
[   19s] tests/test_qnames.py::TestQNameHelpers::test_get_extended_qname PASSED   [  8%]
[   19s] tests/test_qnames.py::TestQNameHelpers::test_get_namespace PASSED        [  8%]
[   19s] tests/test_qnames.py::TestQNameHelpers::test_get_prefixed_qname PASSED   [  8%]
[   19s] tests/test_qnames.py::TestQNameHelpers::test_get_qname PASSED            [  8%]
[   19s] tests/test_qnames.py::TestQNameHelpers::test_local_name PASSED           [  8%]
[   19s] tests/test_resources.py::TestResources::test_fetch_namespaces PASSED     [  9%]
[   19s] tests/test_resources.py::TestResources::test_fetch_resource PASSED       [  9%]
[   19s] tests/test_resources.py::TestResources::test_fetch_schema_locations PASSED [  9%]
[   19s] tests/test_resources.py::TestResources::test_fid_with_name_attr PASSED   [  9%]
[   19s] tests/test_resources.py::TestResources::test_get_context PASSED          [  9%]
[   19s] tests/test_resources.py::TestResources::test_normalize_url_hash_character PASSED [  9%]
[   19s] tests/test_resources.py::TestResources::test_normalize_url_posix PASSED  [ 10%]
[   19s] tests/test_resources.py::TestResources::test_normalize_url_slashes PASSED [ 10%]
[   19s] tests/test_resources.py::TestResources::test_normalize_url_windows PASSED [ 10%]
[   19s] tests/test_resources.py::TestResources::test_remote_schemas_loading SKIPPED [ 10%]
[   19s] tests/test_resources.py::TestResources::test_schema_defuse PASSED        [ 10%]
[   19s] tests/test_resources.py::TestResources::test_schema_resource_access PASSED [ 10%]
[   19s] tests/test_resources.py::TestResources::test_url_helper_functions PASSED [ 11%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_access PASSED  [ 11%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_close PASSED   [ 11%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_copy PASSED    [ 11%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_defuse PASSED  [ 11%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_from_element_tree PASSED [ 11%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_from_file PASSED [ 11%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_from_lxml PASSED [ 12%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_from_resource PASSED [ 12%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_from_string PASSED [ 12%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_from_string_io PASSED [ 12%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_from_url PASSED [ 12%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_from_wrong_type PASSED [ 12%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_fromstring PASSED [ 13%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_get_locations PASSED [ 13%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_get_namespaces PASSED [ 13%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_is_lazy PASSED [ 13%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_is_loaded PASSED [ 13%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_is_local PASSED [ 13%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_is_remote PASSED [ 14%]
[   19s] tests/test_resources.py::TestResources::test_xml_resource_iter PASSED    [ 14%]
[   20s] tests/test_resources.py::TestResources::test_xml_resource_iter_subtrees PASSED [ 14%]
[   20s] tests/test_resources.py::TestResources::test_xml_resource_iterparse PASSED [ 14%]
[   20s] tests/test_resources.py::TestResources::test_xml_resource_namespace PASSED [ 14%]
[   20s] tests/test_resources.py::TestResources::test_xml_resource_open PASSED    [ 14%]
[   20s] tests/test_resources.py::TestResources::test_xml_resource_parse PASSED   [ 14%]
[   20s] tests/test_resources.py::TestResources::test_xml_resource_seek PASSED    [ 15%]
[   20s] tests/test_resources.py::TestResources::test_xml_resource_timeout PASSED [ 15%]
[   20s] tests/test_resources.py::TestResources::test_xml_resource_tostring PASSED [ 15%]
[   20s] tests/test_schemas.py::TestSchema001::test_xsd_file PASSED               [ 15%]
[   20s] tests/test_schemas.py::TestSchema002::test_xsd_file PASSED               [ 15%]
[   20s] tests/test_schemas.py::TestSchema003::test_xsd_file PASSED               [ 15%]
[   20s] tests/test_schemas.py::TestSchema004::test_xsd_file PASSED               [ 16%]
[   20s] tests/test_schemas.py::TestSchema005::test_xsd_file PASSED               [ 16%]
[   20s] tests/test_schemas.py::TestSchema006::test_xsd_file PASSED               [ 16%]
[   20s] tests/test_schemas.py::TestSchema007::test_xsd_file PASSED               [ 16%]
[   20s] tests/test_schemas.py::TestSchema008::test_xsd_file PASSED               [ 16%]
[   20s] tests/test_schemas.py::TestSchema009::test_xsd_file PASSED               [ 16%]
[   20s] tests/test_schemas.py::TestSchema010::test_xsd_file PASSED               [ 17%]
[   20s] tests/test_schemas.py::TestSchema011::test_xsd_file PASSED               [ 17%]
[   20s] tests/test_schemas.py::TestSchema012::test_xsd_file PASSED               [ 17%]
[   20s] tests/test_schemas.py::TestSchema013::test_xsd_file PASSED               [ 17%]
[   20s] tests/test_schemas.py::TestSchema014::test_xsd_file PASSED               [ 17%]
[   20s] tests/test_schemas.py::TestSchema015::test_xsd_file PASSED               [ 17%]
[   20s] tests/test_schemas.py::TestSchema016::test_xsd_file PASSED               [ 17%]
[   21s] tests/test_schemas.py::TestSchema017::test_xsd_file PASSED               [ 18%]
[   21s] tests/test_schemas.py::TestSchema018::test_xsd_file PASSED               [ 18%]
[   21s] tests/test_schemas.py::TestSchema019::test_xsd_file PASSED               [ 18%]
[   21s] tests/test_schemas.py::TestSchema020::test_xsd_file PASSED               [ 18%]
[   21s] tests/test_schemas.py::TestSchema021::test_xsd_file PASSED               [ 18%]
[   21s] tests/test_schemas.py::TestSchema022::test_xsd_file PASSED               [ 18%]
[   21s] tests/test_schemas.py::TestSchema023::test_xsd_file PASSED               [ 19%]
[   21s] tests/test_schemas.py::TestSchema024::test_xsd_file PASSED               [ 19%]
[   21s] tests/test_schemas.py::TestSchema025::test_xsd_file PASSED               [ 19%]
[   21s] tests/test_schemas.py::TestSchema026::test_xsd_file PASSED               [ 19%]
[   21s] tests/test_schemas.py::TestSchema027::test_xsd_file PASSED               [ 19%]
[   21s] tests/test_schemas.py::TestSchema028::test_xsd_file PASSED               [ 19%]
[   21s] tests/test_schemas.py::TestSchema029::test_xsd_file PASSED               [ 20%]
[   21s] tests/test_schemas.py::TestSchema030::test_xsd_file PASSED               [ 20%]
[   21s] tests/test_schemas.py::TestSchema031::test_xsd_file PASSED               [ 20%]
[   21s] tests/test_schemas.py::TestSchema032::test_xsd_file PASSED               [ 20%]
[   21s] tests/test_schemas.py::TestSchema033::test_xsd_file PASSED               [ 20%]
[   21s] tests/test_schemas.py::TestSchema034::test_xsd_file PASSED               [ 20%]
[   21s] tests/test_schemas.py::TestSchema035::test_xsd_file PASSED               [ 20%]
[   21s] tests/test_schemas.py::TestSchema036::test_xsd_file PASSED               [ 21%]
[   22s] tests/test_schemas.py::TestSchema037::test_xsd_file PASSED               [ 21%]
[   22s] tests/test_schemas.py::TestSchema038::test_xsd_file PASSED               [ 21%]
[   22s] tests/test_schemas.py::TestSchema039::test_xsd_file PASSED               [ 21%]
[   22s] tests/test_schemas.py::TestSchema040::test_xsd_file PASSED               [ 21%]
[   22s] tests/test_schemas.py::TestSchema041::test_xsd_file PASSED               [ 21%]
[   22s] tests/test_schemas.py::TestSchema042::test_xsd_file PASSED               [ 22%]
[   22s] tests/test_schemas.py::TestSchema043::test_xsd_file PASSED               [ 22%]
[   22s] tests/test_schemas.py::TestSchema044::test_xsd_file PASSED               [ 22%]
[   22s] tests/test_schemas.py::TestSchema045::test_xsd_file PASSED               [ 22%]
[   22s] tests/test_schemas.py::TestSchema046::test_xsd_file PASSED               [ 22%]
[   22s] tests/test_schemas.py::TestSchema047::test_xsd_file PASSED               [ 22%]
[   22s] tests/test_schemas.py::TestSchema048::test_xsd_file PASSED               [ 22%]
[   22s] tests/test_schemas.py::TestSchema049::test_xsd_file PASSED               [ 23%]
[   22s] tests/test_schemas.py::TestSchema050::test_xsd_file PASSED               [ 23%]
[   22s] tests/test_schemas.py::TestSchema051::test_xsd_file PASSED               [ 23%]
[   23s] tests/test_schemas.py::TestSchema052::test_xsd_file PASSED               [ 23%]
[   23s] tests/test_schemas.py::TestSchema053::test_xsd_file PASSED               [ 23%]
[   23s] tests/test_schemas.py::TestSchema054::test_xsd_file PASSED               [ 23%]
[   23s] tests/test_schemas.py::TestSchema055::test_xsd_file PASSED               [ 24%]
[   23s] tests/test_schemas.py::TestSchema056::test_xsd_file PASSED               [ 24%]
[   23s] tests/test_schemas.py::TestSchema057::test_xsd_file PASSED               [ 24%]
[   23s] tests/test_schemas.py::TestSchema058::test_xsd_file PASSED               [ 24%]
[   23s] tests/test_validation.py::TestValidator001::test_xml_document_validation PASSED [ 24%]
[   23s] tests/test_validation.py::TestValidator002::test_xml_document_validation PASSED [ 24%]
[   23s] tests/test_validation.py::TestValidator003::test_xml_document_validation PASSED [ 25%]
[   23s] tests/test_validation.py::TestValidator004::test_xml_document_validation PASSED [ 25%]
[   23s] tests/test_validation.py::TestValidator005::test_xml_document_validation PASSED [ 25%]
[   24s] tests/test_validation.py::TestValidator006::test_xml_document_validation PASSED [ 25%]
[   24s] tests/test_validation.py::TestValidator007::test_xml_document_validation PASSED [ 25%]
[   24s] tests/test_validation.py::TestValidator008::test_xml_document_validation PASSED [ 25%]
[   24s] tests/test_validation.py::TestValidator009::test_xml_document_validation PASSED [ 25%]
[   24s] tests/test_validation.py::TestValidator010::test_xml_document_validation PASSED [ 26%]
[   24s] tests/test_validation.py::TestValidator011::test_xml_document_validation PASSED [ 26%]
[   24s] tests/test_validation.py::TestValidator012::test_xml_document_validation PASSED [ 26%]
[   24s] tests/test_validation.py::TestValidator013::test_xml_document_validation PASSED [ 26%]
[   24s] tests/test_validation.py::TestValidator014::test_xml_document_validation PASSED [ 26%]
[   24s] tests/test_validation.py::TestValidator015::test_xml_document_validation PASSED [ 26%]
[   24s] tests/test_validation.py::TestValidator016::test_xml_document_validation PASSED [ 27%]
[   25s] tests/test_validation.py::TestValidator017::test_xml_document_validation PASSED [ 27%]
[   25s] tests/test_validation.py::TestValidator018::test_xml_document_validation PASSED [ 27%]
[   25s] tests/test_validation.py::TestValidator019::test_xml_document_validation PASSED [ 27%]
[   25s] tests/test_validation.py::TestValidator020::test_xml_document_validation PASSED [ 27%]
[   25s] tests/test_validation.py::TestValidator021::test_xml_document_validation PASSED [ 27%]
[   25s] tests/test_validation.py::TestValidator022::test_xml_document_validation PASSED [ 28%]
[   25s] tests/test_validation.py::TestValidator023::test_xml_document_validation PASSED [ 28%]
[   25s] tests/test_validation.py::TestValidator024::test_xml_document_validation PASSED [ 28%]
[   25s] tests/test_validation.py::TestValidator025::test_xml_document_validation PASSED [ 28%]
[   25s] tests/test_validation.py::TestValidator026::test_xml_document_validation PASSED [ 28%]
[   25s] tests/test_validation.py::TestValidator027::test_xml_document_validation PASSED [ 28%]
[   26s] tests/test_validation.py::TestValidator028::test_xml_document_validation PASSED [ 28%]
[   26s] tests/test_validation.py::TestValidator029::test_xml_document_validation PASSED [ 29%]
[   26s] tests/test_validation.py::TestValidator030::test_xml_document_validation PASSED [ 29%]
[   26s] tests/test_validation.py::TestValidator031::test_xml_document_validation PASSED [ 29%]
[   26s] tests/test_validation.py::TestValidator032::test_xml_document_validation PASSED [ 29%]
[   26s] tests/test_validation.py::TestValidator033::test_xml_document_validation PASSED [ 29%]
[   26s] tests/test_validation.py::TestValidator034::test_xml_document_validation PASSED [ 29%]
[   26s] tests/test_validation.py::TestValidator035::test_xml_document_validation PASSED [ 30%]
[   26s] tests/test_validation.py::TestValidator036::test_xml_document_validation PASSED [ 30%]
[   26s] tests/test_validation.py::TestValidator037::test_xml_document_validation PASSED [ 30%]
[   27s] tests/test_validation.py::TestValidator038::test_xml_document_validation PASSED [ 30%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_bind_parser_method PASSED  [ 30%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_cast_as_method PASSED      [ 30%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_find_method PASSED         [ 31%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_get_attribute_method PASSED [ 31%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_get_context_method PASSED  [ 31%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_get_element_method PASSED  [ 31%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_get_primitive_type_method PASSED [ 31%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_get_substitution_group_method PASSED [ 31%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_get_type_method PASSED     [ 31%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_initialization PASSED      [ 32%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_is_instance_method PASSED  [ 32%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_iter_atomic_types_method PASSED [ 32%]
[   27s] tests/test_xpath.py::XMLSchemaProxyTest::test_iter_schema_nodes_function PASSED [ 32%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_get PASSED                 [ 32%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_getitem PASSED             [ 32%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_iter PASSED                [ 33%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_iterchildren PASSED        [ 33%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_iterfind PASSED            [ 33%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_reversed PASSED            [ 33%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_axis PASSED          [ 33%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_descendants PASSED   [ 33%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_extra_spaces PASSED  [ 34%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_group PASSED         [ 34%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_issues PASSED        [ 34%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_location_path PASSED [ 34%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_predicate PASSED     [ 34%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_subscription PASSED  [ 34%]
[   27s] tests/test_xpath.py::XMLSchemaXPathTest::test_xpath_wrong_syntax PASSED  [ 34%]
[   27s] tests/test_xpath.py::ElementTreeXPathTest::test_rel_xpath_boolean PASSED [ 35%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_abdera_converter PASSED [ 35%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_any_type PASSED    [ 35%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_badgerfish_converter PASSED [ 35%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_binary_data_facets PASSED [ 35%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_cdata_decoding PASSED [ 35%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_choice_model_decoding__issue_041 PASSED [ 36%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_columnar_converter PASSED [ 36%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_complex_with_simple_content_restriction PASSED [ 36%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_datatypes PASSED   [ 36%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_date_decoding PASSED [ 36%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_datetime_types PASSED [ 36%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_decimal_type PASSED [ 37%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_decoding_errors_with_validation_modes PASSED [ 37%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_default_converter PASSED [ 37%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_default_namespace__issue_077 PASSED [ 37%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_default_values__issue_108 PASSED [ 37%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_dict_granularity PASSED [ 37%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_duration_type PASSED [ 37%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_empty_base_type_extension_single_value PASSED [ 38%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_error_message__issue_115 PASSED [ 38%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_issue_190 PASSED   [ 38%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_issue_200 PASSED   [ 38%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_json_dump_and_load PASSED [ 38%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_json_lazy_decoding PASSED [ 38%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_json_ml_converter PASSED [ 39%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_json_path_decoding PASSED [ 39%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_keep_unknown_tags__issue_204 PASSED [ 39%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_lxml PASSED        [ 39%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_nillable__issue_076 PASSED [ 39%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_non_global_schema_path PASSED [ 39%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_parker_converter PASSED [ 40%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_path PASSED        [ 40%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_qname_decoding PASSED [ 40%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_string_facets PASSED [ 40%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_to_dict_from_etree PASSED [ 40%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_to_dict_from_string PASSED [ 40%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_union_types__issue_103 PASSED [ 40%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_validation_skip PASSED [ 41%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_validation_strict PASSED [ 41%]
[   27s] tests/validation/test_decoding.py::TestDecoding::test_visitor_converter PASSED [ 41%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_abdera_converter PASSED [ 41%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_any_type PASSED  [ 41%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_badgerfish_converter PASSED [ 41%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_binary_data_facets PASSED [ 42%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_cdata_decoding PASSED [ 42%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_choice_model_decoding__issue_041 PASSED [ 42%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_columnar_converter PASSED [ 42%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_complex_with_simple_content_restriction PASSED [ 42%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_datatypes PASSED [ 42%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_date_decoding PASSED [ 42%]
[   27s] tests/validation/test_decoding.py::TestDecoding11::test_datetime_types PASSED [ 43%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_decimal_type PASSED [ 43%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_decoding_errors_with_validation_modes PASSED [ 43%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_default_converter PASSED [ 43%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_default_namespace__issue_077 PASSED [ 43%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_default_values__issue_108 PASSED [ 43%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_derived_duration_types PASSED [ 44%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_dict_granularity PASSED [ 44%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_duration_type PASSED [ 44%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_empty_base_type_extension_single_value PASSED [ 44%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_error_message__issue_115 PASSED [ 44%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_issue_190 PASSED [ 44%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_issue_200 PASSED [ 45%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_json_dump_and_load PASSED [ 45%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_json_lazy_decoding PASSED [ 45%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_json_ml_converter PASSED [ 45%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_json_path_decoding PASSED [ 45%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_keep_unknown_tags__issue_204 PASSED [ 45%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_lxml PASSED      [ 45%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_nillable__issue_076 PASSED [ 46%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_non_global_schema_path PASSED [ 46%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_parker_converter PASSED [ 46%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_path PASSED      [ 46%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_qname_decoding PASSED [ 46%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_string_facets PASSED [ 46%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_to_dict_from_etree PASSED [ 47%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_to_dict_from_string PASSED [ 47%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_type_alternatives PASSED [ 47%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_union_types__issue_103 PASSED [ 47%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_validation_skip PASSED [ 47%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_validation_strict PASSED [ 47%]
[   28s] tests/validation/test_decoding.py::TestDecoding11::test_visitor_converter PASSED [ 48%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_complex_elements PASSED [ 48%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_date_builtin_type PASSED [ 48%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_datetime_builtin_type PASSED [ 48%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_decimal_based_builtin_types PASSED [ 48%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_decode_encode PASSED [ 48%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_duration_builtin_type PASSED [ 48%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_encode_unordered_content PASSED [ 49%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_encode_unordered_content_2 PASSED [ 49%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_error_message PASSED [ 49%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_gregorian_year_builtin_type PASSED [ 49%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_gregorian_yearmonth_builtin_type PASSED [ 49%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_list_builtin_types PASSED [ 49%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_list_types PASSED  [ 50%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_max_occurs_sequence PASSED [ 50%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_simple_elements PASSED [ 50%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_strict_trailing_content PASSED [ 50%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_string_based_builtin_types PASSED [ 50%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_union_types PASSED [ 50%]
[   28s] tests/validation/test_encoding.py::TestEncoding::test_unordered_converter_repeated_sequence_of_elements PASSED [ 51%]
[   28s] tests/validation/test_encoding.py::TestEncoding11::test_complex_elements PASSED [ 51%]
[   28s] tests/validation/test_encoding.py::TestEncoding11::test_date_builtin_type PASSED [ 51%]
[   28s] tests/validation/test_encoding.py::TestEncoding11::test_datetime_builtin_type PASSED [ 51%]
[   28s] tests/validation/test_encoding.py::TestEncoding11::test_decimal_based_builtin_types PASSED [ 51%]
[   28s] tests/validation/test_encoding.py::TestEncoding11::test_decode_encode PASSED [ 51%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_duration_builtin_type PASSED [ 51%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_encode_unordered_content PASSED [ 52%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_encode_unordered_content_2 PASSED [ 52%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_error_message PASSED [ 52%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_gregorian_year_builtin_type PASSED [ 52%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_gregorian_yearmonth_builtin_type PASSED [ 52%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_list_builtin_types PASSED [ 52%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_list_types PASSED [ 53%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_max_occurs_sequence PASSED [ 53%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_simple_elements PASSED [ 53%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_strict_trailing_content PASSED [ 53%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_string_based_builtin_types PASSED [ 53%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_union_types PASSED [ 53%]
[   29s] tests/validation/test_encoding.py::TestEncoding11::test_unordered_converter_repeated_sequence_of_elements PASSED [ 54%]
[   29s] tests/validation/test_validation.py::TestValidation::test_document_is_valid_api PASSED [ 54%]
[   29s] tests/validation/test_validation.py::TestValidation::test_document_iter_errors_api PASSED [ 54%]
[   29s] tests/validation/test_validation.py::TestValidation::test_document_validate_api PASSED [ 54%]
[   29s] tests/validation/test_validation.py::TestValidation::test_document_validate_api_lazy PASSED [ 54%]
[   29s] tests/validation/test_validation.py::TestValidation::test_issue_064 PASSED [ 54%]
[   29s] tests/validation/test_validation.py::TestValidation::test_issue_171 PASSED [ 54%]
[   29s] tests/validation/test_validation.py::TestValidation::test_issue_183 PASSED [ 55%]
[   29s] tests/validation/test_validation.py::TestValidation::test_lxml PASSED    [ 55%]
[   29s] tests/validation/test_validation.py::TestValidation::test_max_depth_argument PASSED [ 55%]
[   29s] tests/validation/test_validation.py::TestValidation11::test_default_attributes PASSED [ 55%]
[   29s] tests/validation/test_validation.py::TestValidation11::test_document_is_valid_api PASSED [ 55%]
[   29s] tests/validation/test_validation.py::TestValidation11::test_document_iter_errors_api PASSED [ 55%]
[   30s] tests/validation/test_validation.py::TestValidation11::test_document_validate_api PASSED [ 56%]
[   30s] tests/validation/test_validation.py::TestValidation11::test_document_validate_api_lazy PASSED [ 56%]
[   30s] tests/validation/test_validation.py::TestValidation11::test_issue_064 PASSED [ 56%]
[   30s] tests/validation/test_validation.py::TestValidation11::test_issue_171 PASSED [ 56%]
[   30s] tests/validation/test_validation.py::TestValidation11::test_issue_183 PASSED [ 56%]
[   30s] tests/validation/test_validation.py::TestValidation11::test_lxml PASSED  [ 56%]
[   30s] tests/validation/test_validation.py::TestValidation11::test_max_depth_argument PASSED [ 57%]
[   30s] tests/validators/test_attributes.py::TestXsdAttributes::test_scope_property PASSED [ 57%]
[   30s] tests/validators/test_attributes.py::TestXsdAttributes::test_value_constraint_property PASSED [ 57%]
[   30s] tests/validators/test_attributes.py::TestXsdAttributes::test_wrong_attribute PASSED [ 57%]
[   30s] tests/validators/test_attributes.py::TestXsdAttributes::test_wrong_attribute_group PASSED [ 57%]
[   30s] tests/validators/test_attributes.py::TestXsd11Attributes::test_scope_property PASSED [ 57%]
[   30s] tests/validators/test_attributes.py::TestXsd11Attributes::test_value_constraint_property PASSED [ 57%]
[   30s] tests/validators/test_attributes.py::TestXsd11Attributes::test_wrong_attribute PASSED [ 58%]
[   30s] tests/validators/test_attributes.py::TestXsd11Attributes::test_wrong_attribute_group PASSED [ 58%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_boolean_decode PASSED [ 58%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_boolean_encode PASSED [ 58%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_date_type PASSED [ 58%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_datetime_type PASSED [ 58%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_duration_type PASSED [ 59%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_float_decode PASSED [ 59%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_float_encode PASSED [ 59%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_g_day_type PASSED [ 59%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_g_month_day_type PASSED [ 59%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_g_month_type PASSED [ 59%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_g_year_month_type PASSED [ 60%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_g_year_type PASSED [ 60%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_hex_binary_pattern PASSED [ 60%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_integer_decode PASSED [ 60%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_integer_encode PASSED [ 60%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_not_base64_pattern PASSED [ 60%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_time_type PASSED [ 60%]
[   30s] tests/validators/test_builtins.py::TestXsd10BuiltinTypes::test_year_zero PASSED [ 61%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_boolean_decode PASSED [ 61%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_boolean_encode PASSED [ 61%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_date_time_stamp PASSED [ 61%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_date_type PASSED [ 61%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_datetime_type PASSED [ 61%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_day_time_duration_type PASSED [ 62%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_duration_type PASSED [ 62%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_float_decode PASSED [ 62%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_float_encode PASSED [ 62%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_g_day_type PASSED [ 62%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_g_month_day_type PASSED [ 62%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_g_month_type PASSED [ 62%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_g_year_month_type PASSED [ 63%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_g_year_type PASSED [ 63%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_hex_binary_pattern PASSED [ 63%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_integer_decode PASSED [ 63%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_integer_encode PASSED [ 63%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_not_base64_pattern PASSED [ 63%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_time_type PASSED [ 64%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_year_month_duration_type PASSED [ 64%]
[   30s] tests/validators/test_builtins.py::TestXsd11BuiltinTypes::test_year_zero PASSED [ 64%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_all_group_restriction PASSED [ 64%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_choice_group_restriction PASSED [ 64%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_content_type PASSED [ 64%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_content_type_property PASSED [ 65%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_element_restrictions PASSED [ 65%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_occurs_restriction PASSED [ 65%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_recursive_complex_type PASSED [ 65%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_sequence_group_restriction PASSED [ 65%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_upa_violation_with_wildcard PASSED [ 65%]
[   30s] tests/validators/test_complex_types.py::TestXsdComplexType::test_upa_violations PASSED [ 65%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_all_group_restriction PASSED [ 66%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_choice_group_restriction PASSED [ 66%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_complex_type_assertion PASSED [ 66%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_content_type PASSED [ 66%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_content_type_property PASSED [ 66%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_element_restrictions PASSED [ 66%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_occurs_restriction PASSED [ 67%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_recursive_complex_type PASSED [ 67%]
[   30s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_sequence_extension PASSED [ 67%]
[   31s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_sequence_group_restriction PASSED [ 67%]
[   31s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_upa_violation_with_wildcard PASSED [ 67%]
[   31s] tests/validators/test_complex_types.py::TestXsd11ComplexType::test_upa_violations PASSED [ 67%]
[   31s] tests/validators/test_elements.py::TestXsdElements::test_scope_property PASSED [ 68%]
[   31s] tests/validators/test_elements.py::TestXsdElements::test_value_constraint_property PASSED [ 68%]
[   31s] tests/validators/test_elements.py::TestXsd11Elements::test_scope_property PASSED [ 68%]
[   31s] tests/validators/test_elements.py::TestXsd11Elements::test_value_constraint_property PASSED [ 68%]
[   31s] tests/validators/test_exceptions.py::TestValidatorExceptions::test_children_validation_error PASSED [ 68%]
[   31s] tests/validators/test_exceptions.py::TestValidatorExceptions::test_exception_init PASSED [ 68%]
[   31s] tests/validators/test_exceptions.py::TestValidatorExceptions::test_exception_repr PASSED [ 68%]
[   31s] tests/validators/test_exceptions.py::TestValidatorExceptions::test_properties PASSED [ 69%]
[   31s] tests/validators/test_exceptions.py::TestValidatorExceptions::test_setattr PASSED [ 69%]
[   31s] tests/validators/test_global_maps.py::TestMetaSchemaMaps::test_xsd_10_build PASSED [ 69%]
[   31s] tests/validators/test_global_maps.py::TestMetaSchemaMaps::test_xsd_10_components PASSED [ 69%]
[   31s] tests/validators/test_global_maps.py::TestMetaSchemaMaps::test_xsd_10_globals PASSED [ 69%]
[   31s] tests/validators/test_global_maps.py::TestMetaSchemaMaps::test_xsd_11_build PASSED [ 69%]
[   31s] tests/validators/test_global_maps.py::TestMetaSchemaMaps::test_xsd_11_components PASSED [ 70%]
[   31s] tests/validators/test_global_maps.py::TestMetaSchemaMaps::test_xsd_11_globals PASSED [ 70%]
[   31s] tests/validators/test_global_maps.py::TestMetaSchemaMaps::test_xsd_11_restrictions PASSED [ 70%]
[   31s] tests/validators/test_identities.py::TestXsdIdentities::test_key_definition PASSED [ 70%]
[   31s] tests/validators/test_identities.py::TestXsd11Identities::test_key_definition PASSED [ 70%]
[   31s] tests/validators/test_identities.py::TestXsd11Identities::test_ref_definition PASSED [ 70%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_cars_model PASSED [ 71%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_choice_model_with_extended_occurs PASSED [ 71%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_collection_model PASSED [ 71%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_empty_choice_groups PASSED [ 71%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_issue_086 PASSED [ 71%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_meta_attr_declarations_group PASSED [ 71%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_meta_complex_type_model PASSED [ 71%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_meta_schema_document_model PASSED [ 72%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_meta_schema_top_model PASSED [ 72%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_meta_simple_derivation_model PASSED [ 72%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_meta_simple_restriction_model PASSED [ 72%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_model_group1 PASSED [ 72%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_model_group2 PASSED [ 72%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_model_group3 PASSED [ 73%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_model_group4 PASSED [ 73%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_model_group5 PASSED [ 73%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_model_group6 PASSED [ 73%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_model_group7 PASSED [ 73%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_model_group8 PASSED [ 73%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_person_type_model PASSED [ 74%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_sequence_model_with_extended_occurs PASSED [ 74%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_sequence_model_with_nested_choice_model PASSED [ 74%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_sequence_model_with_optional_elements PASSED [ 74%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_single_item_groups PASSED [ 74%]
[   31s] tests/validators/test_models.py::TestModelValidation::test_vehicles_model PASSED [ 74%]
[   31s] tests/validators/test_models.py::TestModelValidation11::test_all_model_with_extended_occurs PASSED [ 74%]
[   31s] tests/validators/test_models.py::TestModelValidation11::test_all_model_with_relaxed_occurs PASSED [ 75%]
[   31s] tests/validators/test_models.py::TestModelValidation11::test_all_model_with_wildcard PASSED [ 75%]
[   31s] tests/validators/test_models.py::TestModelValidation11::test_cars_model PASSED [ 75%]
[   31s] tests/validators/test_models.py::TestModelValidation11::test_choice_model_with_extended_occurs PASSED [ 75%]
[   31s] tests/validators/test_models.py::TestModelValidation11::test_collection_model PASSED [ 75%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_empty_choice_groups PASSED [ 75%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_issue_086 PASSED [ 76%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_meta_attr_declarations_group PASSED [ 76%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_meta_complex_type_model PASSED [ 76%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_meta_schema_document_model PASSED [ 76%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_meta_schema_top_model PASSED [ 76%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_meta_simple_derivation_model PASSED [ 76%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_meta_simple_restriction_model PASSED [ 77%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_model_group1 PASSED [ 77%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_model_group2 PASSED [ 77%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_model_group3 PASSED [ 77%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_model_group4 PASSED [ 77%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_model_group5 PASSED [ 77%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_model_group6 PASSED [ 77%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_model_group7 PASSED [ 78%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_model_group8 PASSED [ 78%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_person_type_model PASSED [ 78%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_sequence_model_with_extended_occurs PASSED [ 78%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_sequence_model_with_nested_choice_model PASSED [ 78%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_sequence_model_with_optional_elements PASSED [ 78%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_single_item_groups PASSED [ 79%]
[   32s] tests/validators/test_models.py::TestModelValidation11::test_vehicles_model PASSED [ 79%]
[   32s] tests/validators/test_models.py::TestModelBasedSorting::test_iter_collapsed_content_with_optional_elements PASSED [ 79%]
[   32s] tests/validators/test_models.py::TestModelBasedSorting::test_iter_collapsed_content_with_repeated_elements PASSED [ 79%]
[   32s] tests/validators/test_models.py::TestModelBasedSorting::test_iter_collapsed_content_with_repeated_groups PASSED [ 79%]
[   32s] tests/validators/test_models.py::TestModelBasedSorting::test_iter_collapsed_content_with_single_elements PASSED [ 79%]
[   32s] tests/validators/test_models.py::TestModelBasedSorting::test_sort_content PASSED [ 80%]
[   32s] tests/validators/test_notations.py::TestXsd10Notations::test_parse PASSED [ 80%]
[   32s] tests/validators/test_notations.py::TestXsd10Notations::test_properties PASSED [ 80%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_annotations PASSED [ 80%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_base_schemas PASSED [ 80%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_export_another_directory__issue_187 PASSED [ 80%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_export_errors__issue_187 PASSED [ 80%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_export_remote__issue_187 FAILED [ 81%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_export_same_directory__issue_187 PASSED [ 81%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_global_group_definitions PASSED [ 81%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_is_restriction_method PASSED [ 81%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_remote_schemas_loading SKIPPED [ 81%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_resolve_qname PASSED [ 81%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_root_elements PASSED [ 82%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_schema_copy PASSED [ 82%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_schema_defuse PASSED [ 82%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_schema_string_repr PASSED [ 82%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_schema_validation PASSED [ 82%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_wrong_includes_and_imports PASSED [ 82%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema10::test_wrong_references PASSED [ 82%]
[   32s] tests/validators/test_schema_class.py::TestXMLSchema11::test_annotations PASSED [ 83%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_base_schemas PASSED [ 83%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_export_another_directory__issue_187 PASSED [ 83%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_export_errors__issue_187 PASSED [ 83%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_export_remote__issue_187 FAILED [ 83%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_export_same_directory__issue_187 PASSED [ 83%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_global_group_definitions PASSED [ 84%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_is_restriction_method PASSED [ 84%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_remote_schemas_loading SKIPPED [ 84%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_resolve_qname PASSED [ 84%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_root_elements PASSED [ 84%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_schema_copy PASSED [ 84%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_schema_defuse PASSED [ 85%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_schema_string_repr PASSED [ 85%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_schema_validation PASSED [ 85%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_wrong_includes_and_imports PASSED [ 85%]
[   33s] tests/validators/test_schema_class.py::TestXMLSchema11::test_wrong_references PASSED [ 85%]
[   33s] tests/validators/test_simple_types.py::TestXsdSimpleTypes::test_date_time_facets PASSED [ 85%]
[   33s] tests/validators/test_simple_types.py::TestXsdSimpleTypes::test_facets PASSED [ 85%]
[   33s] tests/validators/test_simple_types.py::TestXsdSimpleTypes::test_final_attribute PASSED [ 86%]
[   33s] tests/validators/test_simple_types.py::TestXsdSimpleTypes::test_simple_types PASSED [ 86%]
[   33s] tests/validators/test_simple_types.py::TestXsdSimpleTypes::test_union_restrictions PASSED [ 86%]
[   33s] tests/validators/test_simple_types.py::TestXsdSimpleTypes::test_variety_property PASSED [ 86%]
[   33s] tests/validators/test_simple_types.py::TestXsd11SimpleTypes::test_assertion_facet PASSED [ 86%]
[   33s] tests/validators/test_simple_types.py::TestXsd11SimpleTypes::test_date_time_facets PASSED [ 86%]
[   33s] tests/validators/test_simple_types.py::TestXsd11SimpleTypes::test_explicit_timezone_facet PASSED [ 87%]
[   33s] tests/validators/test_simple_types.py::TestXsd11SimpleTypes::test_facets PASSED [ 87%]
[   33s] tests/validators/test_simple_types.py::TestXsd11SimpleTypes::test_final_attribute PASSED [ 87%]
[   33s] tests/validators/test_simple_types.py::TestXsd11SimpleTypes::test_simple_types PASSED [ 87%]
[   33s] tests/validators/test_simple_types.py::TestXsd11SimpleTypes::test_union_restrictions PASSED [ 87%]
[   33s] tests/validators/test_simple_types.py::TestXsd11SimpleTypes::test_variety_property PASSED [ 87%]
[   33s] tests/validators/test_wildcards.py::TestXsdWildcards::test_any_attribute_wildcard PASSED [ 88%]
[   33s] tests/validators/test_wildcards.py::TestXsdWildcards::test_any_wildcard PASSED [ 88%]
[   33s] tests/validators/test_wildcards.py::TestXsdWildcards::test_namespace_variants PASSED [ 88%]
[   33s] tests/validators/test_wildcards.py::TestXsdWildcards::test_overlap PASSED [ 88%]
[   33s] tests/validators/test_wildcards.py::TestXsdWildcards::test_parsing PASSED [ 88%]
[   33s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_any_attribute_wildcard PASSED [ 88%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_any_wildcard PASSED [ 88%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_default_open_content PASSED [ 89%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_is_restriction PASSED [ 89%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_namespace_variants PASSED [ 89%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_not_qname_attribute PASSED [ 89%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_open_content_allowed PASSED [ 89%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_open_content_extension PASSED [ 89%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_open_content_mode_interleave PASSED [ 90%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_open_content_mode_none PASSED [ 90%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_open_content_mode_suffix PASSED [ 90%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_open_content_not_allowed PASSED [ 90%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_open_content_restriction PASSED [ 90%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_open_content_wrong_attributes PASSED [ 90%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_overlap PASSED [ 91%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_parsing PASSED [ 91%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_wildcard_intersection PASSED [ 91%]
[   34s] tests/validators/test_wildcards.py::TestXsd11Wildcards::test_wildcard_union PASSED [ 91%]
[   34s] tests/validators/test_xsdbase.py::TestXsdValidator::test_copy PASSED     [ 91%]
[   34s] tests/validators/test_xsdbase.py::TestXsdValidator::test_initialization PASSED [ 91%]
[   34s] tests/validators/test_xsdbase.py::TestXsdValidator::test_invalid_schema PASSED [ 91%]
[   34s] tests/validators/test_xsdbase.py::TestXsdValidator::test_parse_error PASSED [ 92%]
[   34s] tests/validators/test_xsdbase.py::TestXsdValidator::test_parse_xpath_default_namespace PASSED [ 92%]
[   34s] tests/validators/test_xsdbase.py::TestXsdValidator::test_string_representation PASSED [ 92%]
[   34s] tests/validators/test_xsdbase.py::TestXsdValidator::test_valid_schema PASSED [ 92%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_annotation PASSED [ 92%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_get_global PASSED [ 92%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_get_parent_type PASSED [ 93%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_id_property PASSED [ 93%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_initialization PASSED [ 93%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_is_override PASSED [ 93%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_iter_ancestors PASSED [ 93%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_iter_components PASSED [ 93%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_name_matching PASSED [ 94%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_parse_boolean_attribute PASSED [ 94%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_parse_child_component PASSED [ 94%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_parse_reference PASSED [ 94%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_parse_target_namespace PASSED [ 94%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_representation PASSED [ 94%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_schema_set PASSED [ 94%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_tostring PASSED [ 95%]
[   34s] tests/validators/test_xsdbase.py::TestXsdComponent::test_validation_attempted PASSED [ 95%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_content_type_label PASSED [ 95%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_atomic PASSED     [ 95%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_blocked PASSED    [ 95%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_datetime PASSED   [ 95%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_dynamic_consistent PASSED [ 96%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_extension PASSED  [ 96%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_key PASSED        [ 96%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_list PASSED       [ 96%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_restriction PASSED [ 96%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_is_union PASSED      [ 96%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_model_group_property PASSED [ 97%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_root_type PASSED     [ 97%]
[   34s] tests/validators/test_xsdbase.py::TestXsdType::test_simple_type_property PASSED [ 97%]
[   34s] tests/validators/test_xsdbase.py::TestValidationMixin::test_decode PASSED [ 97%]
[   34s] tests/validators/test_xsdbase.py::TestValidationMixin::test_encode PASSED [ 97%]
[   34s] tests/validators/test_xsdbase.py::TestValidationMixin::test_validate PASSED [ 97%]
[   34s] tests/validators/test_xsdbase.py::TestValidationMixin::test_validation_error PASSED [ 97%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_effective_max_occurs_property PASSED [ 98%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_effective_min_occurs_property PASSED [ 98%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_has_occurs_restriction PASSED [ 98%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_is_ambiguous PASSED [ 98%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_is_emptiable PASSED [ 98%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_is_empty PASSED [ 98%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_is_missing PASSED [ 99%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_is_multiple PASSED [ 99%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_is_over PASSED [ 99%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_is_single PASSED [ 99%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_is_univocal PASSED [ 99%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_occurs_property PASSED [ 99%]
[   34s] tests/validators/test_xsdbase.py::TestParticleMixin::test_parse_particle PASSED [100%]
[   34s] 
[   34s] =================================== FAILURES ===================================
[   34s] ________________ TestXMLSchema10.test_export_remote__issue_187 _________________
[   34s] 
[   34s] qname = '{http://example.com/vehicles}cars'
[   34s] global_map = {'{http://example.com/vehicles}vehicles': XsdElement(name='vh:vehicles', occurs=[1, 1]), '{http://www.w3.org/2001/XMLS...xs:annotation', occurs=[1, 1]), '{http://www.w3.org/2001/XMLSchema}any': XsdElement(name='xs:any', occurs=[1, 1]), ...}
[   34s] tag_map = {'{http://www.w3.org/2001/XMLSchema}attribute': <class 'xmlschema.validators.attributes.XsdAttribute'>, '{http://www.w...XsdComplexType'>, '{http://www.w3.org/2001/XMLSchema}element': <class 'xmlschema.validators.elements.XsdElement'>, ...}
[   34s] 
[   34s]     def lookup(qname, global_map, tag_map):
[   34s]         try:
[   34s] >           obj = global_map[qname]
[   34s] E           KeyError: '{http://example.com/vehicles}cars'
[   34s] 
[   34s] xmlschema/validators/global_maps.py:127: KeyError
[   34s] 
[   34s] During handling of the above exception, another exception occurred:
[   34s] 
[   34s] self = XsdElement(name='vh:cars', occurs=[1, 1])
[   34s] 
[   34s]     def _parse_attributes(self):
[   34s]         self._parse_particle(self.elem)
[   34s]     
[   34s]         attrib = self.elem.attrib
[   34s]         if self._parse_reference():
[   34s]             try:
[   34s] >               xsd_element = self.maps.lookup_element(self.name)
[   34s] 
[   34s] xmlschema/validators/elements.py:125: 
[   34s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[   34s] 
[   34s] self = XsdGlobals(validator=XMLSchema10(name='issue_187_2.xsd', namespace='http://example.com/vehicles'), validation='strict')
[   34s] qname = '{http://example.com/vehicles}cars'
[   34s] 
[   34s]     def lookup_element(self, qname):
[   34s] >       return lookup_element(qname, self.elements, self.validator.BUILDERS_MAP)
[   34s] 
[   34s] xmlschema/validators/global_maps.py:265: 
[   34s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[   34s] 
[   34s] qname = '{http://example.com/vehicles}cars'
[   34s] global_map = {'{http://example.com/vehicles}vehicles': XsdElement(name='vh:vehicles', occurs=[1, 1]), '{http://www.w3.org/2001/XMLS...xs:annotation', occurs=[1, 1]), '{http://www.w3.org/2001/XMLSchema}any': XsdElement(name='xs:any', occurs=[1, 1]), ...}
[   34s] tag_map = {'{http://www.w3.org/2001/XMLSchema}attribute': <class 'xmlschema.validators.attributes.XsdAttribute'>, '{http://www.w...XsdComplexType'>, '{http://www.w3.org/2001/XMLSchema}element': <class 'xmlschema.validators.elements.XsdElement'>, ...}
[   34s] 
[   34s]     def lookup(qname, global_map, tag_map):
[   34s]         try:
[   34s]             obj = global_map[qname]
[   34s]         except KeyError:
[   34s]             if '{' in qname:
[   34s] >               raise XMLSchemaKeyError("missing an %s component for %r!" % (types_desc, qname))
[   34s] E               xmlschema.exceptions.XMLSchemaKeyError: "missing an XsdElement component for '{http://example.com/vehicles}cars'!"
[   34s] 
[   34s] xmlschema/validators/global_maps.py:130: XMLSchemaKeyError
[   34s] 
[   34s] During handling of the above exception, another exception occurred:
[   34s] 
[   34s] self = <tests.validators.test_schema_class.TestXMLSchema10 testMethod=test_export_remote__issue_187>
[   34s] 
[   34s]     def test_export_remote__issue_187(self):
[   34s]         vh_schema_file = self.casepath('issues/issue_187/issue_187_2.xsd')
[   34s] >       vh_schema = self.schema_class(vh_schema_file)
[   34s] 
[   34s] tests/validators/test_schema_class.py:266: 
[   34s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[   34s] xmlschema/validators/schema.py:465: in __init__
[   34s]     self.maps.build()
[   34s] xmlschema/validators/global_maps.py:583: in build
[   34s]     group.build()
[   34s] xmlschema/validators/groups.py:252: in build
[   34s]     self._group[k] = element_class(elem, schema, self)
[   34s] xmlschema/validators/elements.py:81: in __init__
[   34s]     super(XsdElement, self).__init__(elem, schema, parent)
[   34s] xmlschema/validators/xsdbase.py:237: in __init__
[   34s]     self.elem = elem
[   34s] xmlschema/validators/elements.py:105: in __setattr__
[   34s]     super(XsdElement, self).__setattr__(name, value)
[   34s] xmlschema/validators/xsdbase.py:253: in __setattr__
[   34s]     self._parse()
[   34s] xmlschema/validators/elements.py:113: in _parse
[   34s]     self._parse_attributes()
[   34s] xmlschema/validators/elements.py:127: in _parse_attributes
[   34s]     self.parse_error('unknown element %r' % self.name)
[   34s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[   34s] 
[   34s] self = XsdElement(name='vh:cars', occurs=[1, 1])
[   34s] error = XMLSchemaParseError(XsdElement(name='vh:cars', occurs=[1, 1]), "unknown element '{http://example.com/vehicles}cars'", <Element '{http://www.w3.org/2001/XMLSchema}element' at 0x7f0cf83e0450>)
[   34s] elem = <Element '{http://www.w3.org/2001/XMLSchema}element' at 0x7f0cf83e0450>
[   34s] validation = 'strict'
[   34s] 
[   34s]     def parse_error(self, error, elem=None, validation=None):
[   34s]         """
[   34s]         Helper method for registering parse errors. Does nothing if validation mode is 'skip'.
[   34s]         Il validation mode is 'lax' collects the error, otherwise raise the error.
[   34s]     
[   34s]         :param error: can be a parse error or an error message.
[   34s]         :param elem: the Element instance related to the error, for default uses the 'elem' \
[   34s]         attribute of the validator, if it's present.
[   34s]         :param validation: overrides the default validation mode of the validator.
[   34s]         """
[   34s]         if validation:
[   34s]             check_validation_mode(validation)
[   34s]         else:
[   34s]             validation = self.validation
[   34s]     
[   34s]         if validation == 'skip':
[   34s]             return
[   34s]     
[   34s]         if is_etree_element(elem):
[   34s]             pass
[   34s]         elif elem is None:
[   34s]             elem = getattr(self, 'elem', None)
[   34s]         else:
[   34s]             msg = "the argument 'elem' must be an Element instance, not {!r}."
[   34s]             raise XMLSchemaTypeError(msg.format(elem))
[   34s]     
[   34s]         if isinstance(error, XMLSchemaParseError):
[   34s]             error.validator = self
[   34s]             error.namespaces = getattr(self, 'namespaces', None)
[   34s]             error.elem = elem
[   34s]             error.source = getattr(self, 'source', None)
[   34s]         elif isinstance(error, Exception):
[   34s]             message = str(error).strip()
[   34s]             if message[0] in '\'"' and message[0] == message[-1]:
[   34s]                 message = message.strip('\'"')
[   34s]             error = XMLSchemaParseError(self, message, elem)
[   34s]         elif isinstance(error, str):
[   34s]             error = XMLSchemaParseError(self, error, elem)
[   34s]         else:
[   34s]             msg = "'error' argument must be an exception or a string, not {!r}."
[   34s]             raise XMLSchemaTypeError(msg.format(error))
[   34s]     
[   34s]         if validation == 'lax':
[   34s]             self.errors.append(error)
[   34s]         else:
[   34s] >           raise error
[   34s] E             File "<string>", line None
[   34s] E           xmlschema.validators.exceptions.XMLSchemaParseError: unknown element '{http://example.com/vehicles}cars':
[   34s] E           
[   34s] E           Schema:
[   34s] E           
[   34s] E             <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" ref="vh:cars" />
[   34s] E           
[   34s] E           Path: /xs:schema/xs:element/xs:complexType/xs:sequence/xs:element[1]
[   34s] E           
[   34s] E           Schema URL: file:///home/abuild/rpmbuild/BUILD/xmlschema-1.2.5/tests/validators/../test_cases/issues/issue_187/issue_187_2.xsd
[   34s] 
[   34s] xmlschema/validators/xsdbase.py:175: XMLSchemaParseError
[   34s] ________________ TestXMLSchema11.test_export_remote__issue_187 _________________
[   34s] 
[   34s] qname = '{http://example.com/vehicles}cars'
[   34s] global_map = {'{http://example.com/vehicles}vehicles': Xsd11Element(name='vh:vehicles', occurs=[1, 1]), '{http://www.w3.org/2001/XM...:annotation', occurs=[1, 1]), '{http://www.w3.org/2001/XMLSchema}any': Xsd11Element(name='xs:any', occurs=[1, 1]), ...}
[   34s] tag_map = {'{http://www.w3.org/2001/XMLSchema}attribute': <class 'xmlschema.validators.attributes.Xsd11Attribute'>, '{http://www...1ComplexType'>, '{http://www.w3.org/2001/XMLSchema}element': <class 'xmlschema.validators.elements.Xsd11Element'>, ...}
[   34s] 
[   34s]     def lookup(qname, global_map, tag_map):
[   34s]         try:
[   34s] >           obj = global_map[qname]
[   34s] E           KeyError: '{http://example.com/vehicles}cars'
[   34s] 
[   34s] xmlschema/validators/global_maps.py:127: KeyError
[   34s] 
[   34s] During handling of the above exception, another exception occurred:
[   34s] 
[   34s] self = Xsd11Element(name='vh:cars', occurs=[1, 1])
[   34s] 
[   34s]     def _parse_attributes(self):
[   34s]         self._parse_particle(self.elem)
[   34s]     
[   34s]         attrib = self.elem.attrib
[   34s]         if self._parse_reference():
[   34s]             try:
[   34s] >               xsd_element = self.maps.lookup_element(self.name)
[   34s] 
[   34s] xmlschema/validators/elements.py:125: 
[   34s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[   34s] 
[   34s] self = XsdGlobals(validator=XMLSchema11(name='issue_187_2.xsd', namespace='http://example.com/vehicles'), validation='strict')
[   34s] qname = '{http://example.com/vehicles}cars'
[   34s] 
[   34s]     def lookup_element(self, qname):
[   34s] >       return lookup_element(qname, self.elements, self.validator.BUILDERS_MAP)
[   34s] 
[   34s] xmlschema/validators/global_maps.py:265: 
[   34s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[   34s] 
[   34s] qname = '{http://example.com/vehicles}cars'
[   34s] global_map = {'{http://example.com/vehicles}vehicles': Xsd11Element(name='vh:vehicles', occurs=[1, 1]), '{http://www.w3.org/2001/XM...:annotation', occurs=[1, 1]), '{http://www.w3.org/2001/XMLSchema}any': Xsd11Element(name='xs:any', occurs=[1, 1]), ...}
[   34s] tag_map = {'{http://www.w3.org/2001/XMLSchema}attribute': <class 'xmlschema.validators.attributes.Xsd11Attribute'>, '{http://www...1ComplexType'>, '{http://www.w3.org/2001/XMLSchema}element': <class 'xmlschema.validators.elements.Xsd11Element'>, ...}
[   34s] 
[   34s]     def lookup(qname, global_map, tag_map):
[   34s]         try:
[   34s]             obj = global_map[qname]
[   34s]         except KeyError:
[   34s]             if '{' in qname:
[   34s] >               raise XMLSchemaKeyError("missing an %s component for %r!" % (types_desc, qname))
[   34s] E               xmlschema.exceptions.XMLSchemaKeyError: "missing an XsdElement component for '{http://example.com/vehicles}cars'!"
[   34s] 
[   34s] xmlschema/validators/global_maps.py:130: XMLSchemaKeyError
[   34s] 
[   34s] During handling of the above exception, another exception occurred:
[   34s] 
[   34s] self = <tests.validators.test_schema_class.TestXMLSchema11 testMethod=test_export_remote__issue_187>
[   34s] 
[   34s]     def test_export_remote__issue_187(self):
[   34s]         vh_schema_file = self.casepath('issues/issue_187/issue_187_2.xsd')
[   34s] >       vh_schema = self.schema_class(vh_schema_file)
[   34s] 
[   34s] tests/validators/test_schema_class.py:266: 
[   34s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[   34s] xmlschema/validators/schema.py:465: in __init__
[   34s]     self.maps.build()
[   34s] xmlschema/validators/global_maps.py:583: in build
[   34s]     group.build()
[   34s] xmlschema/validators/groups.py:252: in build
[   34s]     self._group[k] = element_class(elem, schema, self)
[   34s] xmlschema/validators/elements.py:81: in __init__
[   34s]     super(XsdElement, self).__init__(elem, schema, parent)
[   34s] xmlschema/validators/xsdbase.py:237: in __init__
[   34s]     self.elem = elem
[   34s] xmlschema/validators/elements.py:105: in __setattr__
[   34s]     super(XsdElement, self).__setattr__(name, value)
[   34s] xmlschema/validators/xsdbase.py:253: in __setattr__
[   34s]     self._parse()
[   34s] xmlschema/validators/elements.py:1063: in _parse
[   34s]     self._parse_attributes()
[   34s] xmlschema/validators/elements.py:127: in _parse_attributes
[   34s]     self.parse_error('unknown element %r' % self.name)
[   34s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[   34s] 
[   34s] self = Xsd11Element(name='vh:cars', occurs=[1, 1])
[   34s] error = XMLSchemaParseError(Xsd11Element(name='vh:cars', occurs=[1, 1]), "unknown element '{http://example.com/vehicles}cars'", <Element '{http://www.w3.org/2001/XMLSchema}element' at 0x7f0cf82bbf40>)
[   34s] elem = <Element '{http://www.w3.org/2001/XMLSchema}element' at 0x7f0cf82bbf40>
[   34s] validation = 'strict'
[   34s] 
[   34s]     def parse_error(self, error, elem=None, validation=None):
[   34s]         """
[   34s]         Helper method for registering parse errors. Does nothing if validation mode is 'skip'.
[   34s]         Il validation mode is 'lax' collects the error, otherwise raise the error.
[   34s]     
[   34s]         :param error: can be a parse error or an error message.
[   34s]         :param elem: the Element instance related to the error, for default uses the 'elem' \
[   34s]         attribute of the validator, if it's present.
[   34s]         :param validation: overrides the default validation mode of the validator.
[   34s]         """
[   34s]         if validation:
[   34s]             check_validation_mode(validation)
[   34s]         else:
[   34s]             validation = self.validation
[   34s]     
[   34s]         if validation == 'skip':
[   34s]             return
[   34s]     
[   34s]         if is_etree_element(elem):
[   34s]             pass
[   34s]         elif elem is None:
[   34s]             elem = getattr(self, 'elem', None)
[   34s]         else:
[   34s]             msg = "the argument 'elem' must be an Element instance, not {!r}."
[   34s]             raise XMLSchemaTypeError(msg.format(elem))
[   34s]     
[   34s]         if isinstance(error, XMLSchemaParseError):
[   34s]             error.validator = self
[   34s]             error.namespaces = getattr(self, 'namespaces', None)
[   34s]             error.elem = elem
[   34s]             error.source = getattr(self, 'source', None)
[   34s]         elif isinstance(error, Exception):
[   34s]             message = str(error).strip()
[   34s]             if message[0] in '\'"' and message[0] == message[-1]:
[   34s]                 message = message.strip('\'"')
[   34s]             error = XMLSchemaParseError(self, message, elem)
[   34s]         elif isinstance(error, str):
[   34s]             error = XMLSchemaParseError(self, error, elem)
[   34s]         else:
[   34s]             msg = "'error' argument must be an exception or a string, not {!r}."
[   34s]             raise XMLSchemaTypeError(msg.format(error))
[   34s]     
[   34s]         if validation == 'lax':
[   34s]             self.errors.append(error)
[   34s]         else:
[   34s] >           raise error
[   34s] E             File "<string>", line None
[   34s] E           xmlschema.validators.exceptions.XMLSchemaParseError: unknown element '{http://example.com/vehicles}cars':
[   34s] E           
[   34s] E           Schema:
[   34s] E           
[   34s] E             <xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" ref="vh:cars" />
[   34s] E           
[   34s] E           Path: /xs:schema/xs:element/xs:complexType/xs:sequence/xs:element[1]
[   34s] E           
[   34s] E           Schema URL: file:///home/abuild/rpmbuild/BUILD/xmlschema-1.2.5/tests/validators/../test_cases/issues/issue_187/issue_187_2.xsd
[   34s] 
[   34s] xmlschema/validators/xsdbase.py:175: XMLSchemaParseError
[   34s] =============================== warnings summary ===============================
[   34s] tests/validators/test_schema_class.py::TestXMLSchema10::test_export_remote__issue_187
[   34s]   /home/abuild/rpmbuild/BUILD/xmlschema-1.2.5/tests/validators/test_schema_class.py:266: XMLSchemaIncludeWarning: Include schema failed: cannot access to resource 'https://raw.githubusercontent.com/brunato/xmlschema/master/tests/test_cases/examples/vehicles/cars.xsd': [Errno -3] Temporary failure in name resolution.
[   34s]     vh_schema = self.schema_class(vh_schema_file)
[   34s] 
[   34s] tests/validators/test_schema_class.py::TestXMLSchema10::test_export_remote__issue_187
[   34s]   /home/abuild/rpmbuild/BUILD/xmlschema-1.2.5/tests/validators/test_schema_class.py:266: XMLSchemaIncludeWarning: Include schema failed: cannot access to resource 'https://raw.githubusercontent.com/brunato/xmlschema/master/tests/test_cases/examples/vehicles/bikes.xsd': [Errno -3] Temporary failure in name resolution.
[   34s]     vh_schema = self.schema_class(vh_schema_file)
[   34s] 
[   34s] tests/validators/test_schema_class.py::TestXMLSchema11::test_export_remote__issue_187
[   34s]   /home/abuild/rpmbuild/BUILD/xmlschema-1.2.5/xmlschema/validators/schema.py:433: XMLSchemaIncludeWarning: Include schema failed: cannot access to resource 'https://raw.githubusercontent.com/brunato/xmlschema/master/tests/test_cases/examples/vehicles/cars.xsd': [Errno -3] Temporary failure in name resolution.
[   34s]     self._parse_inclusions()
[   34s] 
[   34s] tests/validators/test_schema_class.py::TestXMLSchema11::test_export_remote__issue_187
[   34s]   /home/abuild/rpmbuild/BUILD/xmlschema-1.2.5/xmlschema/validators/schema.py:433: XMLSchemaIncludeWarning: Include schema failed: cannot access to resource 'https://raw.githubusercontent.com/brunato/xmlschema/master/tests/test_cases/examples/vehicles/bikes.xsd': [Errno -3] Temporary failure in name resolution.
[   34s]     self._parse_inclusions()
[   34s] 
[   34s] -- Docs: https://docs.pytest.org/en/stable/warnings.html
[   34s] =========================== short test summary info ============================
[   34s] FAILED tests/validators/test_schema_class.py::TestXMLSchema10::test_export_remote__issue_187
[   34s] FAILED tests/validators/test_schema_class.py::TestXMLSchema11::test_export_remote__issue_187
[   34s] ===== 2 failed, 630 passed, 3 skipped, 3 deselected, 4 warnings in 16.46s ======

Full build log with all details.

brunato commented 4 years ago

Hi, the test fails on building vehicles.xsd for some reason (maybe cars.xsd is not readable/found). I will take a deeper look at error details and try to reproduce the problem.

mcepl commented 4 years ago

Thank you.

brunato commented 4 years ago

Found the problem: the test has to be skipped if remote networks are not accessible. For patching decorate the test as:

    @unittest.skipIf(SKIP_REMOTE_TESTS, "Remote networks are not accessible.")
    def test_export_remote__issue_187(self):
        vh_schema_file = self.casepath('issues/issue_187/issue_187_2.xsd')
        vh_schema = self.schema_class(vh_schema_file)

The name SKIP_REMOTE_TESTS is already imported (there is another test skipped in the same module).

If don't mind i will publish the patch with v1.3.0 that is coming soon (but if it's necessary for packaging i can release a v1.2.6 before ...)

Kind regards

mcepl commented 4 years ago
    @unittest.skipIf(SKIP_REMOTE_TESTS, "Remote networks are not accessible.")

Are you certain SKIP_REMOTE_TESTS value is cached, or do we have to wait 5 seconds for each skipped test?

If don't mind i will publish the patch with v1.3.0 that is coming soon (but if it's necessary for packaging i can release a v1.2.6 before ...)

Don’t worry about that, I will add this patch :

--- a/tests/validators/test_schema_class.py
+++ b/tests/validators/test_schema_class.py
@@ -261,6 +261,7 @@ class TestXMLSchema10(XsdValidatorTestCa

         self.assertFalse(os.path.isdir(dirname))

+    @unittest.skipIf(SKIP_REMOTE_TESTS, "Remote networks are not accessible.")
     def test_export_remote__issue_187(self):
         vh_schema_file = self.casepath('issues/issue_187/issue_187_2.xsd')
         vh_schema = self.schema_class(vh_schema_file)

myself and add it to our package.

brunato commented 4 years ago

SKIP_REMOTE_TESTS is set once at initial setup of tests (through the import of xmlschema.testing subpackage ...). It's a compromise, if you pull out your network cable just after the start of the tests the network related ones will fail :-).

brunato commented 3 years ago

Fixed with v1.3.0