MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_add_transient

Method test_add_transient

test/orm/test_dynamic.py:1993–1997  ·  view source on GitHub ↗
(self, transient_fixture)

Source from the content-addressed store, hash-verified

1991 sess.autoflush = True
1992
1993 def test_add_transient(self, transient_fixture):
1994 u1, a1 = transient_fixture()
1995 u1.addresses.add(a1)
1996
1997 self._assert_history(u1, ([a1], [], []))
1998
1999 def test_add_persistent(self, persistent_fixture):
2000 u1, a1, s = persistent_fixture()

Callers

nothing calls this directly

Calls 2

_assert_historyMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected