Skip to content

Commit f59cd42

Browse files
committed
Fix typo
1 parent 85262e2 commit f59cd42

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

unit_tests/sources/declarative/schema/test_dynamic_schema_loader.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ def dynamic_schema_loader(mock_retriever, mock_schema_type_identifier):
157157
]
158158
),
159159
{
160-
"$schema": "http://json-schema.org/draft-07/schema#",
160+
"$schema": "https://json-schema.org/draft-07/schema#",
161+
"additionalProperties": True,
161162
"type": "object",
162163
"properties": {
163164
"name": {"type": ["null", "string"]},
@@ -178,7 +179,8 @@ def dynamic_schema_loader(mock_retriever, mock_schema_type_identifier):
178179
]
179180
),
180181
{
181-
"$schema": "http://json-schema.org/draft-07/schema#",
182+
"$schema": "https://json-schema.org/draft-07/schema#",
183+
"additionalProperties": True,
182184
"type": "object",
183185
"properties": {
184186
"name": {"type": ["null", "string"]},
@@ -198,7 +200,8 @@ def dynamic_schema_loader(mock_retriever, mock_schema_type_identifier):
198200
]
199201
),
200202
{
201-
"$schema": "http://json-schema.org/draft-07/schema#",
203+
"$schema": "https://json-schema.org/draft-07/schema#",
204+
"additionalProperties": True,
202205
"type": "object",
203206
"properties": {
204207
"address": {
@@ -211,7 +214,8 @@ def dynamic_schema_loader(mock_retriever, mock_schema_type_identifier):
211214
# Test case: Empty record set
212215
iter([]),
213216
{
214-
"$schema": "http://json-schema.org/draft-07/schema#",
217+
"$schema": "https://json-schema.org/draft-07/schema#",
218+
"additionalProperties": True,
215219
"type": "object",
216220
"properties": {},
217221
},
@@ -249,7 +253,8 @@ def test_dynamic_schema_loader_invalid_type(dynamic_schema_loader):
249253

250254
def test_dynamic_schema_loader_manifest_flow():
251255
expected_schema = {
252-
"$schema": "http://json-schema.org/draft-07/schema#",
256+
"$schema": "https://json-schema.org/draft-07/schema#",
257+
"additionalProperties": True,
253258
"type": "object",
254259
"properties": {
255260
"id": {"type": ["null", "integer"]},

0 commit comments

Comments
 (0)