14
0
Files
python-xmlschema/skip_network_tests.patch
Matej Cepl dfae7bfecf - Add skip_network_tests.patch to skip test
test_export_remote__issue_187 which fails without the network
  connection (gh#sissaschool/xmlschema#206).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=18
2020-10-11 16:19:54 +00:00

11 lines
460 B
Diff

--- 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)