diff options
author | Joan Touzet <joant@atypical.net> | 2020-04-27 12:15:51 -0400 |
---|---|---|
committer | Joan Touzet <wohali@users.noreply.github.com> | 2020-04-27 16:10:56 -0400 |
commit | d461554331b6e2e3b69fe443d832fed4151e0e51 (patch) | |
tree | ddc945251af5384a8ed2b02deace4437584373c7 | |
parent | c26193348741513932d12e7444e48a939d7bcbaf (diff) | |
download | couchdb-d461554331b6e2e3b69fe443d832fed4151e0e51.tar.gz |
python black cleanup
-rw-r--r-- | src/mango/test/21-empty-selector-tests.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mango/test/21-empty-selector-tests.py b/src/mango/test/21-empty-selector-tests.py index 31ad8e645..8fd76fcd5 100644 --- a/src/mango/test/21-empty-selector-tests.py +++ b/src/mango/test/21-empty-selector-tests.py @@ -42,17 +42,13 @@ def make_empty_selector_suite(klass): assert len(docs) == 0 def test_empty_array_and_with_age(self): - resp = self.db.find( - {"age": 22, "$and": []}, explain=True - ) + resp = self.db.find({"age": 22, "$and": []}, explain=True) self.assertEqual(resp["index"]["type"], klass.INDEX_TYPE) docs = self.db.find({"age": 22, "$and": []}) assert len(docs) == 1 def test_empty_array_all_age(self): - resp = self.db.find( - {"age": 22, "company": {"$all": []}}, explain=True - ) + resp = self.db.find({"age": 22, "company": {"$all": []}}, explain=True) self.assertEqual(resp["index"]["type"], klass.INDEX_TYPE) docs = self.db.find({"age": 22, "company": {"$all": []}}) assert len(docs) == 0 @@ -62,7 +58,7 @@ def make_empty_selector_suite(klass): {"age": 22, "$and": [{"company": {"$all": []}}]}, explain=True ) self.assertEqual(resp["index"]["type"], klass.INDEX_TYPE) - docs = self.db.find( {"age": 22, "$and": [{"company": {"$all": []}}]}) + docs = self.db.find({"age": 22, "$and": [{"company": {"$all": []}}]}) assert len(docs) == 0 def test_empty_arrays_complex(self): |