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

Function test_drop_tables

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

Source from the content-addressed store, hash-verified

10
11
12def test_drop_tables(db: TinyDB):
13 db.drop_tables()
14
15 db.insert({})
16 db.drop_tables()
17
18 assert len(db) == 0
19
20
21def test_all(db: TinyDB):

Callers

nothing calls this directly

Calls 2

drop_tablesMethod · 0.80
insertMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…