MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / test_add_persistent

Method test_add_persistent

test/orm/test_dynamic.py:1999–2003  ·  view source on GitHub ↗
(self, persistent_fixture)

Source from the content-addressed store, hash-verified

1997 self._assert_history(u1, ([a1], [], []))
1998
1999 def test_add_persistent(self, persistent_fixture):
2000 u1, a1, s = persistent_fixture()
2001 u1.addresses.add(a1)
2002
2003 self._assert_history(u1, ([a1], [], []))
2004
2005 def test_remove_transient(self, transient_fixture):
2006 u1, a1 = transient_fixture()

Callers

nothing calls this directly

Calls 2

_assert_historyMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected