File openapi-spec-validator-skip-urls.patch of Package python-openapi-spec-validator
Index: openapi-spec-validator-0.2.4/tests/integration/test_shortcuts.py
===================================================================
--- openapi-spec-validator-0.2.4.orig/tests/integration/test_shortcuts.py
+++ openapi-spec-validator-0.2.4/tests/integration/test_shortcuts.py
@@ -78,6 +78,7 @@ class TestLocalPetstoreExample(BaseTestV
return factory.spec_from_file("data/v3.0/petstore.yaml")
+@pytest.mark.skip
class TestPetstoreV2Example(BaseTestValidValidteV2SpecUrl):
@pytest.fixture
@@ -88,7 +89,7 @@ class TestPetstoreV2Example(BaseTestVali
'yaml/petstore.yaml'
)
-
+@pytest.mark.skip
class TestApiV2WithExampe(BaseTestValidValidteV2SpecUrl):
@pytest.fixture
@@ -99,7 +100,7 @@ class TestApiV2WithExampe(BaseTestValidV
'yaml/api-with-examples.yaml'
)
-
+@pytest.mark.skip
class TestPetstoreV2ExpandedExample(BaseTestValidValidteV2SpecUrl):
@pytest.fixture
@@ -110,7 +111,7 @@ class TestPetstoreV2ExpandedExample(Base
'yaml/petstore-expanded.yaml'
)
-
+@pytest.mark.skip
class TestPetstoreExample(BaseTestValidValidteSpecUrl):
@pytest.fixture
@@ -121,7 +122,7 @@ class TestPetstoreExample(BaseTestValidV
'petstore.yaml'
)
-
+@pytest.mark.skip
class TestApiWithExampe(BaseTestValidValidteSpecUrl):
@pytest.fixture
@@ -132,7 +133,7 @@ class TestApiWithExampe(BaseTestValidVal
'api-with-examples.yaml'
)
-
+@pytest.mark.skip
class TestPetstoreExpandedExample(BaseTestValidValidteSpecUrl):
@pytest.fixture
Index: openapi-spec-validator-0.2.4/tests/integration/test_validate.py
===================================================================
--- openapi-spec-validator-0.2.4.orig/tests/integration/test_validate.py
+++ openapi-spec-validator-0.2.4/tests/integration/test_validate.py
@@ -64,6 +64,7 @@ class TestLocalParentReferenceExample(Ba
return factory.spec_from_file(self.spec_file)
+@pytest.mark.skip
class TestPetstoreExample(BaseTestValidOpeAPIv3Validator):
@pytest.fixture
@@ -75,7 +76,7 @@ class TestPetstoreExample(BaseTestValidO
)
return factory.spec_from_url(url)
-
+@pytest.mark.skip
class TestApiWithExampe(BaseTestValidOpeAPIv3Validator):
@pytest.fixture
@@ -87,7 +88,7 @@ class TestApiWithExampe(BaseTestValidOpe
)
return factory.spec_from_url(url)
-
+@pytest.mark.skip
class TestPetstoreExpandedExample(BaseTestValidOpeAPIv3Validator):
@pytest.fixture