Skip to content

Commit

Permalink
Call the delete method.
Browse files Browse the repository at this point in the history
  • Loading branch information
harshalizode committed Dec 17, 2024
1 parent 9d78f0e commit 3e81f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/indexes/test_indexes_drop_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def test_drops_indexes() -> None:


async def test_drops_indexes_different_db() -> None:
await AnotherMovie.objects.using("another_test_db").delete
await AnotherMovie.objects.using("another_test_db").delete()
collection = AnotherMovie.objects.using("another_test_db")._collection
await AnotherMovie.create_indexes(collection=collection)
await AnotherMovie.objects.using("another_test_db").create(
Expand Down

0 comments on commit 3e81f54

Please sign in to comment.