MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_get_fully_null_composite_pk

Method test_get_fully_null_composite_pk

test/orm/test_query.py:1255–1267  ·  view source on GitHub ↗
(self, outerjoin_mapping)

Source from the content-addressed store, hash-verified

1253 )
1254
1255 def test_get_fully_null_composite_pk(self, outerjoin_mapping):
1256 UserThing = outerjoin_mapping
1257
1258 s = fixture_session()
1259
1260 assert_warns_message(
1261 sa_exc.SAWarning,
1262 r"fully NULL primary key identity cannot load any object. "
1263 "This condition may raise an error in a future release.",
1264 s.get,
1265 UserThing,
1266 (None, None),
1267 )
1268
1269 def test_unique_param_names(self):
1270 users = self.tables.users

Callers

nothing calls this directly

Calls 2

fixture_sessionFunction · 0.90
assert_warns_messageFunction · 0.90

Tested by

no test coverage detected