Skip to content

Commit 09b0bf6

Browse files
committed
fix linter issues
Signed-off-by: wiseaidev <[email protected]>
1 parent 20b4620 commit 09b0bf6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_hash_model.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,11 @@ async def test_pagination_queries(members, m):
151151

152152
assert actual == [member1, member2]
153153

154-
actual = await m.Member.find().page(1,1)
154+
actual = await m.Member.find().page(1, 1)
155+
156+
assert actual == [member2]
157+
158+
actual = await m.Member.find().page(0, 1)
155159

156160
assert actual == [member1]
157161

@@ -624,3 +628,4 @@ class Address(m.BaseHashModel):
624628
assert (
625629
Address.redisearch_schema()
626630
== f"ON HASH PREFIX 1 {key_prefix} SCHEMA pk TAG SEPARATOR | a_string TAG SEPARATOR | a_full_text_string TAG SEPARATOR | a_full_text_string AS a_full_text_string_fts TEXT an_integer NUMERIC SORTABLE a_float NUMERIC"
631+
)

0 commit comments

Comments
 (0)