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

Method test_iterkeys

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

Source from the content-addressed store, hash-verified

378 assert (d.a, d.b, d.c) == (1, 1, 1)
379
380 def test_iterkeys(self):
381 d = self.dtype(a=1)
382 assert list(d.keys()) == ["a"]
383
384 def test_len(self):
385 d = self.dtype(a=1)

Callers

nothing calls this directly

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected