summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-08-06 11:53:14 +0300
committerJulian Berman <Julian@GrayVines.com>2022-08-06 11:53:14 +0300
commit6f85db09c2381c93947ed923a277138932622450 (patch)
tree9ff5370fdb576fffadfc223fc21055d1b2c296aa
parent559aa6d73dea70e029c8e3dc33369548b19cb8eb (diff)
downloadjsonschema-6f85db09c2381c93947ed923a277138932622450.tar.gz
Fix the skip test renames.
-rw-r--r--jsonschema/tests/test_jsonschema_test_suite.py26
1 files changed, 21 insertions, 5 deletions
diff --git a/jsonschema/tests/test_jsonschema_test_suite.py b/jsonschema/tests/test_jsonschema_test_suite.py
index 6312cba..7f59fd3 100644
--- a/jsonschema/tests/test_jsonschema_test_suite.py
+++ b/jsonschema/tests/test_jsonschema_test_suite.py
@@ -92,7 +92,7 @@ if sys.version_info < (3, 9): # pragma: no cover
message=message,
subject="ipv4",
description=(
- "leading zeroes should be rejected, as they are treated as octals"
+ "leading zeroes are rejected, as they are treated as octals"
),
)
else:
@@ -523,10 +523,27 @@ TestDraft202012 = DRAFT202012.to_unittest_testcase(
or skip(
message="dynamicRef support isn't fully working yet.",
subject="dynamicRef",
+ description="incorrect extended schema",
+ case_description=(
+ "$ref and $dynamicAnchor are independent of order - "
+ "$defs first"
+ ),
+ )(test)
+ or skip(
+ message="dynamicRef support isn't fully working yet.",
+ subject="dynamicRef",
+ description="correct extended schema",
+ case_description=(
+ "$ref and $dynamicAnchor are independent of order - "
+ "$defs first"
+ ),
+ )(test)
+ or skip(
+ message="dynamicRef support isn't fully working yet.",
+ subject="dynamicRef",
description="correct extended schema",
case_description=(
- "Tests for implementation dynamic anchor and reference link. "
- "Reference should be independent of any possible ordering."
+ "$ref and $dynamicAnchor are independent of order - $ref first"
),
)(test)
or skip(
@@ -534,8 +551,7 @@ TestDraft202012 = DRAFT202012.to_unittest_testcase(
subject="dynamicRef",
description="incorrect extended schema",
case_description=(
- "Tests for implementation dynamic anchor and reference link. "
- "Reference should be independent of any possible ordering."
+ "$ref and $dynamicAnchor are independent of order - $ref first"
),
)(test)
or skip(