Skip to content

Commit 257f7ee

Browse files
committed
COH-27563 Ensure Big Decimal, Integer serialization against 22.06 works correctly
1 parent 59d12f1 commit 257f7ee

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_aggregators.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,11 @@ async def test_min(setup_and_teardown: NamedCache[Any, Any]) -> None:
101101

102102
# noinspection PyShadowingNames
103103
@pytest.mark.asyncio
104-
@pytest.mark.skip
105104
async def test_sum(setup_and_teardown: NamedCache[Any, Any]) -> None:
106105
cache: NamedCache[str, Person] = setup_and_teardown
107106

108107
ag = Aggregators.sum("age")
109-
r: Decimal = await cache.aggregate(ag)
108+
r = await cache.aggregate(ag)
110109
assert r == (
111110
Person.Andy().age
112111
+ Person.Alice().age
@@ -207,7 +206,6 @@ async def test_group(setup_and_teardown: NamedCache[Any, Any]) -> None:
207206

208207
# noinspection PyShadowingNames
209208
@pytest.mark.asyncio
210-
@pytest.mark.skip
211209
async def test_priority(setup_and_teardown: NamedCache[Any, Any]) -> None:
212210
cache: NamedCache[str, Person] = setup_and_teardown
213211

@@ -217,7 +215,7 @@ async def test_priority(setup_and_teardown: NamedCache[Any, Any]) -> None:
217215
assert agg_actual.request_timeout_in_millis == Timeout.DEFAULT
218216
assert agg_actual.scheduling_priority == Schedule.STANDARD
219217

220-
r: Decimal = await cache.aggregate(agg)
218+
r = await cache.aggregate(agg)
221219
assert r == (
222220
Person.Andy().age
223221
+ Person.Alice().age

0 commit comments

Comments
 (0)