Skip to content

Commit

Permalink
WS-3151: change records param in unit test from array to dict.
Browse files Browse the repository at this point in the history
  • Loading branch information
seth-mg committed Apr 19, 2024
1 parent 37de35a commit b579e0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_rosette_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ def test_the_record_similarity_endpoint(api, json_response):
params = RecordSimilarityParameters()
params["fields"] = {}
params["properties"] = {}
params["records"] = []
params["records"] = {}
result = api.record_similarity(params)
assert result["name"] == "Rosette"
httpretty.disable()
Expand Down Expand Up @@ -1015,9 +1015,9 @@ def test_for_record_similarity_required_parameters(api, json_response):
assert e_rosette.value.status == 'missingParameter'
assert e_rosette.value.message == 'Required Record Similarity parameter is missing: records'

params["records"] = []
params["records"] = {}

result = api.record_similarity(params)
assert result["name"] == "Rosette"
httpretty.disable()
httpretty.reset()
httpretty.reset()

0 comments on commit b579e0a

Please sign in to comment.