Skip to content

Commit d673068

Browse files
committed
formats assigned to type fix enable tests
1 parent 6dfb1a7 commit d673068

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
@@ -160,12 +160,6 @@ def test_basic_types_invalid(self, unmarshallers_factory, type, value):
160160
in exc_info.value.schema_errors[0].message
161161
)
162162

163-
@pytest.mark.xfail(
164-
reason=(
165-
"Format assigned to type bug. "
166-
"See https://github.com/p1c2u/openapi-core/issues/483"
167-
)
168-
)
169163
@pytest.mark.parametrize(
170164
"format,value,unmarshalled",
171165
[
@@ -386,8 +380,8 @@ def test_string_uuid_invalid(self, unmarshallers_factory):
386380

387381
@pytest.mark.xfail(
388382
reason=(
389-
"Format assigned to type bug. "
390-
"See https://github.com/p1c2u/openapi-core/issues/483"
383+
"Formats raise error for other types. "
384+
"See https://github.com/p1c2u/openapi-schema-validator/issues/66"
391385
)
392386
)
393387
@pytest.mark.parametrize(
@@ -1290,12 +1284,6 @@ def test_any_all_of_invalid_properties(self, value, unmarshallers_factory):
12901284
with pytest.raises(InvalidSchemaValue):
12911285
unmarshaller(value)
12921286

1293-
@pytest.mark.xfail(
1294-
reason=(
1295-
"Format assigned to type bug. "
1296-
"See https://github.com/p1c2u/openapi-core/issues/483"
1297-
)
1298-
)
12991287
def test_any_format_one_of(self, unmarshallers_factory):
13001288
schema = {
13011289
"format": "date",

0 commit comments

Comments
 (0)