Skip to content

Commit 57d0e5a

Browse files
committed
fix linter issues
Signed-off-by: wiseaidev <[email protected]>
1 parent b16c1e0 commit 57d0e5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_hash_model.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,18 @@ async def members(m):
9595

9696
yield member1, member2, member3
9797

98+
9899
@py_test_mark_asyncio
99100
async def test_count_query(members, m):
100101

101102
count = await m.Member.find((m.Member.first_name == "Brookins") & (m.Member.last_name == "Brookins")).count()
102103
assert count == 1
103-
count = await m.Member.find(m.Member.first_name="Kim").count()
104+
count = await m.Member.find(m.Member.first_name == "Kim").count()
104105
assert count == 1
105106
count = await m.Member.find().count()
106107
assert count == 3
107108

109+
108110
@py_test_mark_asyncio
109111
async def test_exact_match_queries(members, m):
110112
member1, member2, member3 = members

0 commit comments

Comments
 (0)