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 12:45:33 -0400 |
commit | 55deba0509038b9d892e72ae9ed029aa8905afe5 (patch) | |
tree | e1b4f112b58bd4868396817b815155742c428ef5 | |
parent | e6e6e6befa3f697721238889491b226dda940346 (diff) | |
download | couchdb-55deba0509038b9d892e72ae9ed029aa8905afe5.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): |