MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_instance_state

Method test_instance_state

test/orm/test_inspect.py:314–318  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

312 )
313
314 def test_instance_state(self):
315 User = self.classes.User
316 u1 = User()
317 insp = inspect(u1)
318 is_(insp, instance_state(u1))
319
320 def test_instance_state_info(self):
321 User = self.classes.User

Callers

nothing calls this directly

Calls 4

inspectFunction · 0.90
is_Function · 0.90
instance_stateFunction · 0.85
UserClass · 0.70

Tested by

no test coverage detected