Skip to content

Commit 1bfd6a6

Browse files
fix json test case typo
1 parent 5bc437d commit 1bfd6a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/yml_tests/test_url_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def jsonToDict(json_data):
233233
## JSON
234234
else:
235235
assert isinstance(file_content, type([])), self.error_msg.format("Response did not contain a list of results.\nContent (First 500 char):\n{0}\n".format(file_content))
236-
json_data = file_content
236+
json_data = file_content[0]
237237
if json_data == []:
238238
content_type = "blank json"
239239
else:

0 commit comments

Comments
 (0)