From 3e81f5420f79f24bf8a763006495d09a8114b924 Mon Sep 17 00:00:00 2001 From: harshalizode Date: Tue, 17 Dec 2024 10:33:42 +0530 Subject: [PATCH] Call the delete method. --- tests/indexes/test_indexes_drop_indexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/indexes/test_indexes_drop_indexes.py b/tests/indexes/test_indexes_drop_indexes.py index b05149c..b79072e 100644 --- a/tests/indexes/test_indexes_drop_indexes.py +++ b/tests/indexes/test_indexes_drop_indexes.py @@ -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(