Skip to content

Commit d8db7ce

Browse files
committedFeb 18, 2023
formats assigned to type fix enable tests
1 parent a38426b commit d8db7ce

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed
 

‎tests/integration/unmarshalling/test_unmarshallers.py

+2-14
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,6 @@ def test_basic_types_invalid(self, unmarshallers_factory, type, value):
180180
in exc_info.value.schema_errors[0].message
181181
)
182182

183-
@pytest.mark.xfail(
184-
reason=(
185-
"Format assigned to type bug. "
186-
"See https://github.com/p1c2u/openapi-core/issues/483"
187-
)
188-
)
189183
@pytest.mark.parametrize(
190184
"format,value,unmarshalled",
191185
[
@@ -406,8 +400,8 @@ def test_string_uuid_invalid(self, unmarshallers_factory):
406400

407401
@pytest.mark.xfail(
408402
reason=(
409-
"Format assigned to type bug. "
410-
"See https://github.com/p1c2u/openapi-core/issues/483"
403+
"Formats raise error for other types. "
404+
"See https://github.com/p1c2u/openapi-schema-validator/issues/66"
411405
)
412406
)
413407
@pytest.mark.parametrize(
@@ -1310,12 +1304,6 @@ def test_any_all_of_invalid_properties(self, value, unmarshallers_factory):
13101304
with pytest.raises(InvalidSchemaValue):
13111305
unmarshaller.unmarshal(value)
13121306

1313-
@pytest.mark.xfail(
1314-
reason=(
1315-
"Format assigned to type bug. "
1316-
"See https://github.com/p1c2u/openapi-core/issues/483"
1317-
)
1318-
)
13191307
def test_any_format_one_of(self, unmarshallers_factory):
13201308
schema = {
13211309
"format": "date",

0 commit comments

Comments
 (0)
Please sign in to comment.