--- Begin Message ---
Source: elementpath, python-xmlschema
Control: found -1 elementpath/2.0.4-1
Control: found -1 python-xmlschema/1.2.2-2
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of elementpath the autopkgtest of python-xmlschema
fails in testing when that autopkgtest is run with the binary packages
of elementpath from unstable. It passes when run with only packages from
testing. In tabular form:
pass fail
elementpath from testing 2.0.4-1
python-xmlschema from testing 1.2.2-2
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of elementpath to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=elementpath
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-xmlschema/8327442/log.gz
======================================================================
ERROR: test_xml_document_validation
(xmlschema.testing.builders.TestValidator004)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 503, in check_iter_errors
lazy_errors = list(xmlschema.iter_errors(xml_file,
schema=self.schema, lazy=True))
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1405, in iter_errors
yield from self._validate_references(validation='lax', **kwargs)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1420, in _validate_references
for error in counter.iter_errors(identities):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/identities.py",
line 422, in iter_errors
refer_values = identities[self.identity.refer].counter
KeyError: XsdKey(name='author_dn')
======================================================================
ERROR: test_default_namespace (tests.validation.test_decoding.TestDecoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_decoding.py",
line 820, in test_default_namespace
self.assertEqual(xs.to_dict("""<foo
xmlns="http://example.com/foo">bar</foo>""",
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1555, in decode
for result in self.iter_decode(source, path, schema_path,
validation, *args, **kwargs):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1542, in iter_decode
yield schema.validation_error(validation, reason, elem, source,
namespaces)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 906, in validation_error
raise error
xmlschema.validators.exceptions.XMLSchemaValidationError: failed
validating <Element '{http://example.com/foo}foo' at 0x7f6c7ca66d60>
with XMLSchema10(namespace='http://example.com/foo'):
Reason: <Element '{http://example.com/foo}foo' at 0x7f6c7ca66d60> is not
an element of the schema
Instance:
<foo xmlns="http://example.com/foo">bar</foo>
Path: /foo
======================================================================
ERROR: test_json_path_decoding (tests.validation.test_decoding.TestDecoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_decoding.py",
line 501, in test_json_path_decoding
json_data = xmlschema.to_json(xml_file, schema=schema, path='*')
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/documents.py",
line 234, in to_json
obj = schema.decode(source, path=path, **kwargs)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1555, in decode
for result in self.iter_decode(source, path, schema_path,
validation, *args, **kwargs):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1542, in iter_decode
yield schema.validation_error(validation, reason, elem, source,
namespaces)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 906, in validation_error
raise error
xmlschema.validators.exceptions.XMLSchemaValidationError: failed
validating <Element 'object' at 0x7f6c7c4afae0> with
XMLSchema10(basename='collection.xsd',
namespace='http://example.com/ns/collection'):
Reason: <Element 'object' at 0x7f6c7c4afae0> is not an element of the schema
Instance:
<object id="b0836217462" available="true">
<position>1</position>
<title>The Umbrellas</title>
<year>1886</year>
<author id="PAR">
<name>Pierre-Auguste Renoir</name>
<born>1841-02-25</born>
<dead>1919-12-03</dead>
<qualification>painter</qualification>
</author>
<estimation>10000.00</estimation>
</object>
Path: /col:collection/object[1]
======================================================================
ERROR: test_path (tests.validation.test_decoding.TestDecoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_decoding.py",
line 562, in test_path
xd = self.vh_schema.to_dict(xt, '/vh:vehicles/vh:cars',
namespaces=self.vh_namespaces)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1555, in decode
for result in self.iter_decode(source, path, schema_path,
validation, *args, **kwargs):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1542, in iter_decode
yield schema.validation_error(validation, reason, elem, source,
namespaces)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 906, in validation_error
raise error
xmlschema.validators.exceptions.XMLSchemaValidationError: failed
validating <Element '{http://example.com/vehicles}cars' at
0x7f6c7c2c4860> with XMLSchema10(basename='vehicles.xsd',
namespace='http://example.com/vehicles'):
Reason: <Element '{http://example.com/vehicles}cars' at 0x7f6c7c2c4860>
is not an element of the schema
Instance:
<vh:cars xmlns:vh="http://example.com/vehicles">
<vh:car make="Porsche" model="911" />
<vh:car make="Porsche" model="911" />
</vh:cars>
Path: /vh:vehicles/vh:cars
======================================================================
ERROR: test_default_namespace
(tests.validation.test_decoding.TestDecoding11)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_decoding.py",
line 820, in test_default_namespace
self.assertEqual(xs.to_dict("""<foo
xmlns="http://example.com/foo">bar</foo>""",
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1555, in decode
for result in self.iter_decode(source, path, schema_path,
validation, *args, **kwargs):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1542, in iter_decode
yield schema.validation_error(validation, reason, elem, source,
namespaces)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 906, in validation_error
raise error
xmlschema.validators.exceptions.XMLSchemaValidationError: failed
validating <Element '{http://example.com/foo}foo' at 0x7f6c7c9b9680>
with XMLSchema10(namespace='http://example.com/foo'):
Reason: <Element '{http://example.com/foo}foo' at 0x7f6c7c9b9680> is not
an element of the schema
Instance:
<foo xmlns="http://example.com/foo">bar</foo>
Path: /foo
======================================================================
ERROR: test_json_path_decoding
(tests.validation.test_decoding.TestDecoding11)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_decoding.py",
line 501, in test_json_path_decoding
json_data = xmlschema.to_json(xml_file, schema=schema, path='*')
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/documents.py",
line 234, in to_json
obj = schema.decode(source, path=path, **kwargs)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1555, in decode
for result in self.iter_decode(source, path, schema_path,
validation, *args, **kwargs):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1542, in iter_decode
yield schema.validation_error(validation, reason, elem, source,
namespaces)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 906, in validation_error
raise error
xmlschema.validators.exceptions.XMLSchemaValidationError: failed
validating <Element 'object' at 0x7f6c7ca2ab80> with
XMLSchema11(basename='collection.xsd',
namespace='http://example.com/ns/collection'):
Reason: <Element 'object' at 0x7f6c7ca2ab80> is not an element of the schema
Instance:
<object id="b0836217462" available="true">
<position>1</position>
<title>The Umbrellas</title>
<year>1886</year>
<author id="PAR">
<name>Pierre-Auguste Renoir</name>
<born>1841-02-25</born>
<dead>1919-12-03</dead>
<qualification>painter</qualification>
</author>
<estimation>10000.00</estimation>
</object>
Path: /col:collection/object[1]
======================================================================
ERROR: test_path (tests.validation.test_decoding.TestDecoding11)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_decoding.py",
line 562, in test_path
xd = self.vh_schema.to_dict(xt, '/vh:vehicles/vh:cars',
namespaces=self.vh_namespaces)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1555, in decode
for result in self.iter_decode(source, path, schema_path,
validation, *args, **kwargs):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 1542, in iter_decode
yield schema.validation_error(validation, reason, elem, source,
namespaces)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 906, in validation_error
raise error
xmlschema.validators.exceptions.XMLSchemaValidationError: failed
validating <Element '{http://example.com/vehicles}cars' at
0x7f6c7cc7ed10> with XMLSchema11(basename='vehicles.xsd',
namespace='http://example.com/vehicles'):
Reason: <Element '{http://example.com/vehicles}cars' at 0x7f6c7cc7ed10>
is not an element of the schema
Instance:
<vh:cars xmlns:vh="http://example.com/vehicles">
<vh:car make="Porsche" model="911" />
<vh:car make="Porsche" model="911" />
</vh:cars>
Path: /vh:vehicles/vh:cars
======================================================================
ERROR: test_issue_171 (tests.validation.test_validation.TestValidation)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_validation.py",
line 133, in test_issue_171
schema =
xmlschema.XMLSchema11(self.casepath('issues/issue_171/issue_171.xsd'))
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 453, in __init__
self.maps.build()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/global_maps.py",
line 584, in build
obj.build()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/assertions.py",
line 82, in build
builtin_type = XSD_BUILTIN_TYPES['anyType']
KeyError: 'anyType'
======================================================================
ERROR: test_issue_171 (tests.validation.test_validation.TestValidation11)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_validation.py",
line 133, in test_issue_171
schema =
xmlschema.XMLSchema11(self.casepath('issues/issue_171/issue_171.xsd'))
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 453, in __init__
self.maps.build()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/global_maps.py",
line 584, in build
obj.build()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/assertions.py",
line 82, in build
builtin_type = XSD_BUILTIN_TYPES['anyType']
KeyError: 'anyType'
======================================================================
ERROR: test_complex_type_assertion
(tests.validators.test_complex_types.TestXsd11ComplexType)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validators/test_complex_types.py",
line 429, in test_complex_type_assertion
schema = self.check_schema("""
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/case_class.py",
line 153, in check_schema
schema = self.schema_class(self.get_schema_source(source), **kwargs)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 453, in __init__
self.maps.build()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/global_maps.py",
line 584, in build
obj.build()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/assertions.py",
line 82, in build
builtin_type = XSD_BUILTIN_TYPES['anyType']
KeyError: 'anyType'
======================================================================
ERROR: test_assertion_facet
(tests.validators.test_simple_types.TestXsd11SimpleTypes)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/facets.py",
line 755, in _parse
variables = {'value': XSD_BUILTIN_TYPES[builtin_type_name].value}
AttributeError: type object 'DecimalProxy' has no attribute 'value'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validators/test_simple_types.py",
line 174, in test_assertion_facet
self.check_schema("""
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/case_class.py",
line 151, in check_schema
self.assertRaises(expected, self.schema_class,
self.get_schema_source(source), **kwargs)
File "/usr/lib/python3.9/unittest/case.py", line 733, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/usr/lib/python3.9/unittest/case.py", line 201, in handle
callable_obj(*args, **kwargs)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/schema.py",
line 453, in __init__
self.maps.build()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/global_maps.py",
line 570, in build
self.lookup_type(qname)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/global_maps.py",
line 249, in lookup_type
return lookup_type(qname, self.types, self.validator.BUILDERS_MAP)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/global_maps.py",
line 148, in lookup
global_map[qname] = factory_or_class(elem, schema, parent=None)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/simple_types.py",
line 57, in xsd_simple_type_factory
xsd_type = schema.BUILDERS.restriction_class(child, schema, parent)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/simple_types.py",
line 448, in __init__
super(XsdAtomic, self).__init__(elem, schema, parent, name, facets)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/simple_types.py",
line 114, in __init__
super(XsdSimpleType, self).__init__(elem, schema, parent, name)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 235, in __init__
self.elem = elem
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/simple_types.py",
line 1081, in __setattr__
super(XsdAtomicRestriction, self).__setattr__(name, value)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/simple_types.py",
line 459, in __setattr__
super(XsdAtomic, self).__setattr__(name, value)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/simple_types.py",
line 119, in __setattr__
super(XsdSimpleType, self).__setattr__(name, value)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 251, in __setattr__
self._parse()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/simple_types.py",
line 1191, in _parse
facets[child.tag] = facet_class(child, self.schema, self, base_type)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/facets.py",
line 40, in __init__
super(XsdFacet, self).__init__(elem, schema, parent)
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 235, in __init__
self.elem = elem
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/xsdbase.py",
line 251, in __setattr__
self._parse()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/validators/facets.py",
line 757, in _parse
variables = {'value': XSD_BUILTIN_TYPES['anySimpleType'].value}
KeyError: 'anySimpleType'
======================================================================
FAIL: test_xml_document_validation
(xmlschema.testing.builders.TestValidator002)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 504, in check_iter_errors
self.assertEqual(len(errors1), len(lazy_errors))
AssertionError: 1 != 0
======================================================================
FAIL: test_xml_document_validation
(xmlschema.testing.builders.TestValidator003)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 504, in check_iter_errors
self.assertEqual(len(errors1), len(lazy_errors))
AssertionError: 1 != 0
======================================================================
FAIL: test_xml_document_validation
(xmlschema.testing.builders.TestValidator011)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 504, in check_iter_errors
self.assertEqual(len(errors1), len(lazy_errors))
AssertionError: 2 != 0
======================================================================
FAIL: test_xml_document_validation
(xmlschema.testing.builders.TestValidator012)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 504, in check_iter_errors
self.assertEqual(len(errors1), len(lazy_errors))
AssertionError: 2 != 0
======================================================================
FAIL: test_xml_document_validation
(xmlschema.testing.builders.TestValidator016)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 504, in check_iter_errors
self.assertEqual(len(errors1), len(lazy_errors))
AssertionError: 6 != 0
======================================================================
FAIL: test_xml_document_validation
(xmlschema.testing.builders.TestValidator023)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 504, in check_iter_errors
self.assertEqual(len(errors1), len(lazy_errors))
AssertionError: 1 != 0
======================================================================
FAIL: test_xml_document_validation
(xmlschema.testing.builders.TestValidator024)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 504, in check_iter_errors
self.assertEqual(len(errors1), len(lazy_errors))
AssertionError: 1 != 0
======================================================================
FAIL: test_xml_document_validation
(xmlschema.testing.builders.TestValidator030)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 537, in test_xml_document_validation
self.check_iter_errors()
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/xmlschema/testing/builders.py",
line 504, in check_iter_errors
self.assertEqual(len(errors1), len(lazy_errors))
AssertionError: 1 != 0
======================================================================
FAIL: test_json_lazy_decoding (tests.validation.test_decoding.TestDecoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_decoding.py",
line 526, in test_json_lazy_decoding
self.assertEqual(
AssertionError: '{"@xmlns:col": "http://example.com/ns/co[645
chars]}}]}' != ('{"@xmlns:col": "http://example.com/ns/c[377 chars]a")))
======================================================================
FAIL: test_json_lazy_decoding
(tests.validation.test_decoding.TestDecoding11)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validation/test_decoding.py",
line 526, in test_json_lazy_decoding
self.assertEqual(
AssertionError: '{"@xmlns:col": "http://example.com/ns/co[645
chars]}}]}' != ('{"@xmlns:col": "http://example.com/ns/c[377 chars]a")))
======================================================================
FAIL: test_datetime_type
(tests.validators.test_builtins.TestXsd10BuiltinTypes)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validators/test_builtins.py",
line 112, in test_datetime_type
self.assertTrue(datetime_type.is_valid('2007-05-10'))
AssertionError: False is not true
======================================================================
FAIL: test_datetime_type
(tests.validators.test_builtins.TestXsd11BuiltinTypes)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.5wa53j63/downtmp/build.JBu/src/tests/validators/test_builtins.py",
line 112, in test_datetime_type
self.assertTrue(datetime_type.is_valid('2007-05-10'))
AssertionError: False is not true
signature.asc
Description: OpenPGP digital signature
--- End Message ---