Skip to content

Commit

Permalink
Fix functional tests (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalxas committed May 12, 2024
1 parent 837fa46 commit c8e0af1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functionaltests/test_suites_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def _test_xml_result(result, expected, encoding="utf-8"):
return matches


def _test_json_result(result, expected, encoding="utf-8"):
def _test_json_result(result, expected):
"""Compare the JSON test results with an expected value.
Parameters
Expand All @@ -233,8 +233,8 @@ def _test_json_result(result, expected, encoding="utf-8"):
"""

result_dict = json.loads(result, encoding=encoding)
expected_dict = json.loads(expected, encoding=encoding)
result_dict = json.loads(result)
expected_dict = json.loads(expected)
return result_dict == expected_dict


Expand Down

0 comments on commit c8e0af1

Please sign in to comment.