Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip a test case when no internet connection is available #365

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

stratakis
Copy link
Contributor

When trying to build the latest version of xmlschema on Fedora test_pl_validation_translation fails as it requires an internet connection.

logs:
test_pl_validation_translation (tests.test_translations.TestTranslations.test_pl_validation_translation) ... /builddir/build/BUILD/xmlschema-2.4.0/tests/test_translations.py:122: XMLSchemaImportWarning: Import of namespace 'http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2020/07/06/eD/DefinicjeTypy/' from ['http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2020/07/06/eD/DefinicjeTypy/StrukturyDanych_v7-0E.xsd'] failed: cannot access to resource 'http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2020/07/06/eD/DefinicjeTypy/StrukturyDanych_v7-0E.xsd': [Errno -3] Temporary failure in name resolution.
  schema = XMLSchema(
/builddir/build/BUILD/xmlschema-2.4.0/tests/test_translations.py:122: XMLSchemaImportWarning: Import of namespace 'http://crd.gov.pl/xml/schematy/struktura/2009/11/16/' from ['http://crd.gov.pl/xml/schematy/struktura/2009/11/16/struktura.xsd'] failed: cannot access to resource 'http://crd.gov.pl/xml/schematy/struktura/2009/11/16/struktura.xsd': [Errno -3] Temporary failure in name resolution.
  schema = XMLSchema(
/builddir/build/BUILD/xmlschema-2.4.0/tests/test_translations.py:122: XMLSchemaImportWarning: Import of namespace 'http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2021/04/14/eTW/Commons/' from ['http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2021/04/14/eTW/Commons/schemat_commons.xsd'] failed: cannot access to resource 'http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2021/04/14/eTW/Commons/schemat_commons.xsd': [Errno -3] Temporary failure in name resolution.
  schema = XMLSchema(
FAIL

@brunato brunato merged commit 8cd4c97 into sissaschool:master Aug 31, 2023
4 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants