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

Function test_tables_list

tests/test_tables.py:16–20  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

14
15
16def test_tables_list(db):
17 db.table('table1').insert({'a': 1})
18 db.table('table2').insert({'a': 1})
19
20 assert db.tables() == {'_default', 'table1', 'table2'}
21
22
23def test_one_table(db):

Callers

nothing calls this directly

Calls 3

insertMethod · 0.80
tableMethod · 0.80
tablesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…