Skip to content

Test suite fails when working offline #176

@mgorny

Description

@mgorny

When running the test suite on a firewalled environment without direct Internet connectivity, all tests fail with the same error, e.g.:

___________________________________________________________ test_glissando ____________________________________________________________

    def test_glissando():
>       compare_output('glissando')

tests/test_xml.py:16: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_xml.py:109: in compare_output
    validate_xml(output)
tests/test_xml.py:118: in validate_xml
    xmlschema = etree.XMLSchema(xmlschema_doc)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   ???
E   lxml.etree.XMLSchemaParseError: attribute use (unknown), attribute 'ref': The QName value '{http://www.w3.org/XML/1998/namespace}lang' does not resolve to a(n) attribute declaration., line 1810

src/lxml/xmlschema.pxi:90: XMLSchemaParseError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions