MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_query

Method test_query

test/ext/test_hybrid.py:135–142  ·  view source on GitHub ↗
(self, use_inplace, use_classmethod)

Source from the content-addressed store, hash-verified

133 @testing.variation("use_inplace", [True, False])
134 @testing.variation("use_classmethod", [True, False])
135 def test_query(self, use_inplace, use_classmethod):
136 A = self._fixture(
137 use_inplace=use_inplace, use_classmethod=use_classmethod
138 )
139 sess = fixture_session()
140 self.assert_compile(
141 sess.query(A.value), "SELECT a.value AS a_value FROM a"
142 )
143
144 @testing.variation("use_inplace", [True, False])
145 @testing.variation("use_classmethod", [True, False])

Callers

nothing calls this directly

Calls 4

_fixtureMethod · 0.95
fixture_sessionFunction · 0.90
assert_compileMethod · 0.80
queryMethod · 0.45

Tested by

no test coverage detected