Skip to content

Commit

Permalink
Removed a comma to fix formatting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Angraybill <[email protected]>
  • Loading branch information
Angraybill committed Jan 21, 2025
1 parent 87520fe commit b7bd358
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions python/python/tests/test_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,17 +484,11 @@ async def test_set_only_if_equal(self, glide_client: TGlideClient):
await glide_client.set(key, value)

res = await glide_client.set(
key,
"foobar",
conditional_set=OnlyIfEqual(wrong_comparison_value),
key, "foobar", conditional_set=OnlyIfEqual(wrong_comparison_value)
)
assert res is None
assert await glide_client.get(key) == value.encode()
res = await glide_client.set(
key,
value2,
conditional_set=OnlyIfEqual(value),
)
res = await glide_client.set(key, value2, conditional_set=OnlyIfEqual(value))
assert res == OK
assert await glide_client.get(key) == value2.encode()

Expand Down

0 comments on commit b7bd358

Please sign in to comment.