File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
tests/integration/synapseclient/models Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -551,9 +551,8 @@ async def test_get_invalid_validation_async(
551
551
552
552
assert validation_response .object_type == "entity"
553
553
assert validation_response .object_etag is not None
554
- assert (
555
- validation_response .id
556
- == f"https://repo-prod.prod.sagebase.org/repo/v1/schema/type/registered/{ test_org .name } -{ TEST_SCHEMA_NAME } -{ SCHEMA_VERSION } "
554
+ assert validation_response .id .endswith (
555
+ f"repo/v1/schema/type/registered/{ test_org .name } -{ TEST_SCHEMA_NAME } -{ SCHEMA_VERSION } "
557
556
)
558
557
assert validation_response .is_valid == False
559
558
assert validation_exception .message == "2 schema violations found"
Original file line number Diff line number Diff line change @@ -545,9 +545,8 @@ def test_get_invalid_validation(
545
545
546
546
assert validation_response .object_type == "entity"
547
547
assert validation_response .object_etag is not None
548
- assert (
549
- validation_response .id
550
- == f"https://repo-prod.prod.sagebase.org/repo/v1/schema/type/registered/{ test_org .name } -{ TEST_SCHEMA_NAME } -{ SCHEMA_VERSION } "
548
+ assert validation_response .id .endswith (
549
+ f"repo/v1/schema/type/registered/{ test_org .name } -{ TEST_SCHEMA_NAME } -{ SCHEMA_VERSION } "
551
550
)
552
551
assert validation_response .is_valid == False
553
552
assert validation_exception .message == "2 schema violations found"
You can’t perform that action at this time.
0 commit comments