Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
16
def
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
23
def
test_one_table(db):
Callers
nothing calls this directly
Calls
3
insert
Method · 0.80
table
Method · 0.80
tables
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…