Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit e1d6c3a

Browse files
committed
Fixes 10 tests in TestAnyTypeSchema
1 parent 2328275 commit e1d6c3a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

samples/openapi3/client/petstore/python/tests_manual/test_any_type_schema.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class TestAnyTypeSchema(unittest.TestCase):
3939
def testDictSchema(self):
4040
class Model(ComposedSchema):
4141
class MetaOapg:
42+
types = None
43+
4244
@staticmethod
4345
def all_of():
4446
return [
@@ -56,6 +58,8 @@ def all_of():
5658
def testListSchema(self):
5759
class Model(ComposedSchema):
5860
class MetaOapg:
61+
types = None
62+
5963
@staticmethod
6064
def all_of():
6165
return [
@@ -73,6 +77,8 @@ def all_of():
7377
def testStrSchema(self):
7478
class Model(ComposedSchema):
7579
class MetaOapg:
80+
types = None
81+
7682
@staticmethod
7783
def all_of():
7884
return [
@@ -90,6 +96,8 @@ def all_of():
9096
def testNumberSchema(self):
9197
class Model(ComposedSchema):
9298
class MetaOapg:
99+
types = None
100+
93101
@staticmethod
94102
def all_of():
95103
return [
@@ -114,6 +122,8 @@ def all_of():
114122
def testIntSchema(self):
115123
class Model(ComposedSchema):
116124
class MetaOapg:
125+
types = None
126+
117127
@staticmethod
118128
def all_of():
119129
return [
@@ -135,6 +145,8 @@ def all_of():
135145
def testBoolSchema(self):
136146
class Model(ComposedSchema):
137147
class MetaOapg:
148+
types = None
149+
138150
@staticmethod
139151
def all_of():
140152
return [
@@ -159,6 +171,8 @@ def all_of():
159171
def testNoneSchema(self):
160172
class Model(ComposedSchema):
161173
class MetaOapg:
174+
types = None
175+
162176
@staticmethod
163177
def all_of():
164178
return [
@@ -176,6 +190,8 @@ def all_of():
176190
def testDateSchema(self):
177191
class Model(ComposedSchema):
178192
class MetaOapg:
193+
types = None
194+
179195
@staticmethod
180196
def all_of():
181197
return [
@@ -193,6 +209,8 @@ def all_of():
193209
def testDateTimeSchema(self):
194210
class Model(ComposedSchema):
195211
class MetaOapg:
212+
types = None
213+
196214
@staticmethod
197215
def all_of():
198216
return [
@@ -210,6 +228,8 @@ def all_of():
210228
def testDecimalSchema(self):
211229
class Model(ComposedSchema):
212230
class MetaOapg:
231+
types = None
232+
213233
@staticmethod
214234
def all_of():
215235
return [

0 commit comments

Comments
 (0)