Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ _table_fixture
Method
_table_fixture
test/sql/test_ddlemit.py:67–72 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
65
)
66
67
def
_table_fixture(self):
68
m = MetaData()
69
70
return
(m,) + tuple(
71
Table(
"t%d"
% i, m, Column(
"x"
, Integer))
for
i in range(1, 6)
72
)
73
74
def
_table_and_view_fixture(self):
75
m = MetaData()
Callers
10
test_create_collection_checkfirst
Method · 0.95
test_drop_collection_checkfirst
Method · 0.95
test_create_collection_nocheck
Method · 0.95
test_create_empty_collection
Method · 0.95
test_drop_empty_collection
Method · 0.95
test_drop_collection_nocheck
Method · 0.95
test_create_metadata_checkfirst
Method · 0.95
test_drop_metadata_checkfirst
Method · 0.95
test_create_metadata_nocheck
Method · 0.95
test_drop_metadata_nocheck
Method · 0.95
Calls
3
MetaData
Class · 0.90
Table
Class · 0.90
Column
Class · 0.90
Tested by
no test coverage detected