MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / fixture

Function fixture

lib/sqlalchemy/testing/util.py:293–294  ·  view source on GitHub ↗
(**kw)

Source from the content-addressed store, hash-verified

291
292 def create_fixture(pos):
293 def fixture(**kw):
294 return lambda_arg_sets(**kw)[pos]
295
296 fixture.__name__ = "fixture_%3.3d" % pos
297 return fixture

Callers 15

wrapMethod · 0.50
_run_compare_fixtureMethod · 0.50
test_all_presentMethod · 0.50
test_compare_labelsMethod · 0.50
test_copy_internalsMethod · 0.50
test_comparisonMethod · 0.50
_test_getMethod · 0.50
_test_o2m_lazyloadMethod · 0.50
_test_m2o_lazyloadMethod · 0.50
_test_exprMethod · 0.50

Calls

no outgoing calls

Tested by 14

wrapMethod · 0.40
test_all_presentMethod · 0.40
test_compare_labelsMethod · 0.40
test_copy_internalsMethod · 0.40
test_comparisonMethod · 0.40
_test_getMethod · 0.40
_test_o2m_lazyloadMethod · 0.40
_test_m2o_lazyloadMethod · 0.40
_test_exprMethod · 0.40
test_ignores_userMethod · 0.40