MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / test___iter__

Method test___iter__

tests/test_datastructures.py:183–186  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

181 assert base_list == list_items
182
183 def test___iter__(self):
184 values = [True, False, True, False]
185 base_list = BaseList(values, instance=None, name="my_name")
186 assert values == list(base_list)
187
188 def test___iter___allow_modification_while_iterating_withou_error(self):
189 # regular list allows for this, thus this subclass must comply to that

Callers

nothing calls this directly

Calls 1

BaseListClass · 0.90

Tested by

no test coverage detected