MCPcopy
hub / github.com/msiemens/tinydb / test_remove

Function test_remove

tests/test_tinydb.py:186–190  ·  view source on GitHub ↗
(db: TinyDB)

Source from the content-addressed store, hash-verified

184
185
186def test_remove(db: TinyDB):
187 db.remove(where('char') == 'b')
188
189 assert len(db) == 2
190 assert db.count(where('int') == 1) == 2
191
192
193def test_remove_all_fails(db: TinyDB):

Callers

nothing calls this directly

Calls 3

whereFunction · 0.90
removeMethod · 0.80
countMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…