Skip to content

Commit 6f85db0

Browse files
committed
Fix the skip test renames.
1 parent 559aa6d commit 6f85db0

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

jsonschema/tests/test_jsonschema_test_suite.py

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def narrow_unicode_build(test): # pragma: no cover
9292
message=message,
9393
subject="ipv4",
9494
description=(
95-
"leading zeroes should be rejected, as they are treated as octals"
95+
"leading zeroes are rejected, as they are treated as octals"
9696
),
9797
)
9898
else:
@@ -520,22 +520,38 @@ def leap_second(test):
520520
subject="dynamicRef",
521521
description="The recursive part is not valid against the root",
522522
)(test)
523+
or skip(
524+
message="dynamicRef support isn't fully working yet.",
525+
subject="dynamicRef",
526+
description="incorrect extended schema",
527+
case_description=(
528+
"$ref and $dynamicAnchor are independent of order - "
529+
"$defs first"
530+
),
531+
)(test)
532+
or skip(
533+
message="dynamicRef support isn't fully working yet.",
534+
subject="dynamicRef",
535+
description="correct extended schema",
536+
case_description=(
537+
"$ref and $dynamicAnchor are independent of order - "
538+
"$defs first"
539+
),
540+
)(test)
523541
or skip(
524542
message="dynamicRef support isn't fully working yet.",
525543
subject="dynamicRef",
526544
description="correct extended schema",
527545
case_description=(
528-
"Tests for implementation dynamic anchor and reference link. "
529-
"Reference should be independent of any possible ordering."
546+
"$ref and $dynamicAnchor are independent of order - $ref first"
530547
),
531548
)(test)
532549
or skip(
533550
message="dynamicRef support isn't fully working yet.",
534551
subject="dynamicRef",
535552
description="incorrect extended schema",
536553
case_description=(
537-
"Tests for implementation dynamic anchor and reference link. "
538-
"Reference should be independent of any possible ordering."
554+
"$ref and $dynamicAnchor are independent of order - $ref first"
539555
),
540556
)(test)
541557
or skip(

0 commit comments

Comments
 (0)