Clean up test keys properly

This commit is contained in:
Andrew Brookins 2021-11-12 07:56:47 -08:00
parent 8107933c1d
commit 58a798444d
3 changed files with 19 additions and 10 deletions

View file

@ -432,7 +432,7 @@ async def test_access_result_by_index_not_cached(members, m):
assert await query.get_item(2) == member3
def test_schema(m, key_prefix):
def test_schema(m):
class Address(m.BaseHashModel):
a_string: str = Field(index=True)
a_full_text_string: str = Field(index=True, full_text_search=True)