summaryrefslogtreecommitdiff
path: root/src/mango/test/15-execution-stats-test.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mango/test/15-execution-stats-test.py')
-rw-r--r--src/mango/test/15-execution-stats-test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mango/test/15-execution-stats-test.py b/src/mango/test/15-execution-stats-test.py
index d3687f8c8..537a19add 100644
--- a/src/mango/test/15-execution-stats-test.py
+++ b/src/mango/test/15-execution-stats-test.py
@@ -54,10 +54,13 @@ class ExecutionStatsTests(mango.UserDocsTests):
self.assertEqual(resp["execution_stats"]["results_returned"], len(resp["docs"]))
def test_no_matches_index_scan(self):
- resp = self.db.find({"age": {"$lt": 35}, "nomatch": "me"}, return_raw=True, executionStats=True)
+ resp = self.db.find(
+ {"age": {"$lt": 35}, "nomatch": "me"}, return_raw=True, executionStats=True
+ )
self.assertEqual(resp["execution_stats"]["total_docs_examined"], 3)
self.assertEqual(resp["execution_stats"]["results_returned"], 0)
+
@unittest.skipUnless(mango.has_text_service(), "requires text service")
class ExecutionStatsTests_Text(mango.UserDocsTextTests):
def test_simple_text_index(self):