MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _fixture

Method _fixture

test/orm/test_composites.py:1102–1109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1100 )
1101
1102 def _fixture(self):
1103 Graph, Version = self.classes.Graph, self.classes.Version
1104
1105 sess = fixture_session()
1106 g = Graph(Version(1, 1))
1107 sess.add(g)
1108 sess.commit()
1109 return sess
1110
1111 def test_get_by_col(self):
1112 Graph = self.classes.Graph

Callers 3

test_get_by_colMethod · 0.95
test_get_by_compositeMethod · 0.95
test_pk_mutationMethod · 0.95

Calls 5

fixture_sessionFunction · 0.90
GraphClass · 0.70
VersionClass · 0.70
addMethod · 0.45
commitMethod · 0.45

Tested by

no test coverage detected