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

Method test_pop

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

Source from the content-addressed store, hash-verified

386 assert len(d) == 1
387
388 def test_pop(self):
389 d = self.dtype(a=1)
390 assert "a" in d
391 d.pop("a")
392 assert "a" not in d
393
394 def test_repr(self):
395 d = self.dtype(a=1, b=2, c=3)

Callers

nothing calls this directly

Calls 1

popMethod · 0.80

Tested by

no test coverage detected