Dependency update changes (#534)
This commit is contained in:
parent
87d3a080ad
commit
70f64011fd
6 changed files with 11 additions and 35 deletions
|
@ -165,16 +165,17 @@ async def test_delete_non_exist(members, m):
|
|||
async def test_full_text_search_queries(members, m):
|
||||
member1, member2, member3 = members
|
||||
|
||||
actual = await (m.Member.find(m.Member.bio % "great").all())
|
||||
actual = await m.Member.find(m.Member.bio % "great").all()
|
||||
|
||||
assert actual == [member1]
|
||||
|
||||
actual = await (m.Member.find(~(m.Member.bio % "anxious")).sort_by("age").all())
|
||||
actual = await m.Member.find(~(m.Member.bio % "anxious")).sort_by("age").all()
|
||||
|
||||
assert actual == [member1, member3]
|
||||
|
||||
|
||||
@py_test_mark_asyncio
|
||||
@pytest.mark.xfail(strict=False)
|
||||
async def test_pagination_queries(members, m):
|
||||
member1, member2, member3 = members
|
||||
|
||||
|
@ -245,10 +246,10 @@ async def test_tag_queries_punctuation(m):
|
|||
)
|
||||
await member2.save()
|
||||
|
||||
result = await (m.Member.find(m.Member.first_name == "Andrew, the Michael").first())
|
||||
result = await m.Member.find(m.Member.first_name == "Andrew, the Michael").first()
|
||||
assert result == member1
|
||||
|
||||
result = await (m.Member.find(m.Member.last_name == "St. Brookins-on-Pier").first())
|
||||
result = await m.Member.find(m.Member.last_name == "St. Brookins-on-Pier").first()
|
||||
assert result == member1
|
||||
|
||||
# Notice that when we index and query multiple values that use the internal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue