fix black formatting
This commit is contained in:
		| @@ -2,7 +2,7 @@ import unittest | ||||
| from six import iterkeys | ||||
|  | ||||
| from mongoengine import Document | ||||
| from mongoengine.base.datastructures import StrictDict, BaseList, BaseDict | ||||
| from mongoengine.base.datastructures import BaseDict, BaseList, StrictDict | ||||
|  | ||||
|  | ||||
| class DocumentStub(object): | ||||
| @@ -20,8 +20,8 @@ class TestBaseDict(unittest.TestCase): | ||||
|         fake_doc = DocumentStub() | ||||
|         base_list = BaseDict(dict_items, instance=None, name="my_name") | ||||
|         base_list._instance = ( | ||||
|             fake_doc | ||||
|         )  # hack to inject the mock, it does not work in the constructor | ||||
|             fake_doc  # hack to inject the mock, it does not work in the constructor | ||||
|         ) | ||||
|         return base_list | ||||
|  | ||||
|     def test___init___(self): | ||||
| @@ -156,8 +156,8 @@ class TestBaseList(unittest.TestCase): | ||||
|         fake_doc = DocumentStub() | ||||
|         base_list = BaseList(list_items, instance=None, name="my_name") | ||||
|         base_list._instance = ( | ||||
|             fake_doc | ||||
|         )  # hack to inject the mock, it does not work in the constructor | ||||
|             fake_doc  # hack to inject the mock, it does not work in the constructor | ||||
|         ) | ||||
|         return base_list | ||||
|  | ||||
|     def test___init___(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user