Skip to content

Commit ef97b3d

Browse files
committed
Updated test cases and testing image to represent latest
1 parent e53f22c commit ef97b3d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828
# this speeds up coverage with Python 3.12: https://github.com/nedbat/coveragepy/issues/1665
2929
COVERAGE_CORE: sysmon
3030
REDIS_IMAGE: redis:7.4-rc2
31-
REDIS_STACK_IMAGE: redis/redis-stack-server:7.4.0-rc2
31+
REDIS_STACK_IMAGE: redis/redis-stack-server:latest
3232

3333
jobs:
3434
dependency-audit:

tests/test_asyncio/test_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,10 +1540,10 @@ async def test_aggregations_add_scores(decoded_r: redis.Redis):
15401540
)
15411541
)
15421542

1543-
assert await decoded_r.ft().client.hset(
1543+
assert await decoded_r.hset(
15441544
"doc1", mapping={"name": "bar", "age": "25"}
15451545
)
1546-
assert await decoded_r.ft().client.hset(
1546+
assert await decoded_r.hset(
15471547
"doc2", mapping={"name": "foo", "age": "19"}
15481548
)
15491549

tests/test_search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,8 +1450,8 @@ def test_aggregations_add_scores(client):
14501450
)
14511451
)
14521452

1453-
client.ft().client.hset("doc1", mapping={"name": "bar", "age": "25"})
1454-
client.ft().client.hset("doc2", mapping={"name": "foo", "age": "19"})
1453+
client.hset("doc1", mapping={"name": "bar", "age": "25"})
1454+
client.hset("doc2", mapping={"name": "foo", "age": "19"})
14551455

14561456
req = aggregations.AggregateRequest("*").add_scores()
14571457
res = client.ft().aggregate(req)

0 commit comments

Comments
 (0)