Skip to content

Commit

Permalink
add spread flaot tests to dict (#2576)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored May 7, 2024
1 parent 3a6a94e commit 45337a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,10 @@ async def test_spread_string(client: AdditionalPropertiesClient):
body = {"name": "SpreadSpringRecord", "prop": "abc"}
assert await client.spread_string.get() == body
await client.spread_string.put(body)


@pytest.mark.asyncio
async def test_spread_float(client: AdditionalPropertiesClient):
body = {"id": 43.125, "prop": 43.125}
assert await client.spread_float.get() == body
await client.spread_float.put(body)
Original file line number Diff line number Diff line change
Expand Up @@ -305,3 +305,9 @@ def test_spread_string(client: AdditionalPropertiesClient):
body = {"name": "SpreadSpringRecord", "prop": "abc"}
assert client.spread_string.get() == body
client.spread_string.put(body)


def test_spread_float(client: AdditionalPropertiesClient):
body = {"id": 43.125, "prop": 43.125}
assert client.spread_float.get() == body
client.spread_float.put(body)

0 comments on commit 45337a1

Please sign in to comment.