14
0

- 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
This commit is contained in:
2020-10-11 16:19:54 +00:00
committed by Git OBS Bridge
parent 2f1d02ba8f
commit dfae7bfecf
3 changed files with 23 additions and 3 deletions

10
skip_network_tests.patch Normal file
View File

@@ -0,0 +1,10 @@
--- 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)