diff --git a/tests/document/test_indexes.py b/tests/document/test_indexes.py index 812d4e1d4..8a0486412 100644 --- a/tests/document/test_indexes.py +++ b/tests/document/test_indexes.py @@ -507,7 +507,6 @@ class Test(Document): assert ( query_plan.get("queryPlanner") .get("winningPlan") - .get("queryPlan") .get("inputStage") .get("stage") == "IXSCAN" @@ -516,6 +515,7 @@ class Test(Document): assert ( query_plan.get("queryPlanner") .get("winningPlan") + .get("queryPlan") .get("inputStage") .get("stage") == "IXSCAN"