MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_params_with_join

Method test_params_with_join

test/orm/test_core_compilation.py:940–949  ·  view source on GitHub ↗
(
        self, test_case, expected, bindparams, expected_params
    )

Source from the content-addressed store, hash-verified

938 ),
939 )
940 def test_params_with_join(
941 self, test_case, expected, bindparams, expected_params
942 ):
943 User, Address = self.classes("User", "Address")
944
945 stmt = resolve_lambda(test_case, **locals())
946
947 stmt = stmt.params(**bindparams)
948
949 self.assert_compile(stmt, expected, checkparams=expected_params)
950
951 @testing.fixture
952 def grandchild_fixture(self, decl_base):

Callers

nothing calls this directly

Calls 4

resolve_lambdaFunction · 0.90
localsFunction · 0.85
assert_compileMethod · 0.80
paramsMethod · 0.45

Tested by

no test coverage detected