forked from pool/python-xmlschema
- 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:
10
skip_network_tests.patch
Normal file
10
skip_network_tests.patch
Normal 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)
|
Reference in New Issue
Block a user