33from openapi_spec_validator .exceptions import OpenAPIValidationError
44
55
6- class BaseTestValidOpeAPIv3Validator (object ):
6+ class BaseTestValidOpenAPIv3Validator (object ):
77
88 @pytest .fixture
99 def spec_url (self ):
@@ -13,7 +13,7 @@ def test_valid(self, validator, spec, spec_url):
1313 return validator .validate (spec , spec_url = spec_url )
1414
1515
16- class BaseTestFailedOpeAPIv3Validator (object ):
16+ class BaseTestFailedOpenAPIv3Validator (object ):
1717
1818 @pytest .fixture
1919 def spec_url (self ):
@@ -24,21 +24,21 @@ def test_failed(self, validator, spec, spec_url):
2424 validator .validate (spec , spec_url = spec_url )
2525
2626
27- class TestLocalEmptyExample (BaseTestFailedOpeAPIv3Validator ):
27+ class TestLocalEmptyExample (BaseTestFailedOpenAPIv3Validator ):
2828
2929 @pytest .fixture
3030 def spec (self , factory ):
3131 return factory .spec_from_file ("data/v3.0/empty.yaml" )
3232
3333
34- class TestLocalPetstoreExample (BaseTestValidOpeAPIv3Validator ):
34+ class TestLocalPetstoreExample (BaseTestValidOpenAPIv3Validator ):
3535
3636 @pytest .fixture
3737 def spec (self , factory ):
3838 return factory .spec_from_file ("data/v3.0/petstore.yaml" )
3939
4040
41- class TestLocalPetstoreSeparateExample (BaseTestValidOpeAPIv3Validator ):
41+ class TestLocalPetstoreSeparateExample (BaseTestValidOpenAPIv3Validator ):
4242
4343 spec_file = "data/v3.0/petstore-separate/spec/openapi.yaml"
4444
@@ -51,7 +51,7 @@ def spec(self, factory):
5151 return factory .spec_from_file (self .spec_file )
5252
5353
54- class TestLocalParentReferenceExample (BaseTestValidOpeAPIv3Validator ):
54+ class TestLocalParentReferenceExample (BaseTestValidOpenAPIv3Validator ):
5555
5656 spec_file = "data/v3.0/parent-reference/openapi.yaml"
5757
@@ -64,7 +64,7 @@ def spec(self, factory):
6464 return factory .spec_from_file (self .spec_file )
6565
6666
67- class TestPetstoreExample (BaseTestValidOpeAPIv3Validator ):
67+ class TestPetstoreExample (BaseTestValidOpenAPIv3Validator ):
6868
6969 @pytest .fixture
7070 def spec (self , factory ):
@@ -76,7 +76,7 @@ def spec(self, factory):
7676 return factory .spec_from_url (url )
7777
7878
79- class TestApiWithExampe ( BaseTestValidOpeAPIv3Validator ):
79+ class TestApiWithExample ( BaseTestValidOpenAPIv3Validator ):
8080
8181 @pytest .fixture
8282 def spec (self , factory ):
@@ -88,7 +88,7 @@ def spec(self, factory):
8888 return factory .spec_from_url (url )
8989
9090
91- class TestPetstoreExpandedExample (BaseTestValidOpeAPIv3Validator ):
91+ class TestPetstoreExpandedExample (BaseTestValidOpenAPIv3Validator ):
9292
9393 @pytest .fixture
9494 def spec (self , factory ):
0 commit comments