MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_remove_transient

Method test_remove_transient

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

Source from the content-addressed store, hash-verified

2003 self._assert_history(u1, ([a1], [], []))
2004
2005 def test_remove_transient(self, transient_fixture):
2006 u1, a1 = transient_fixture()
2007 u1.addresses.add(a1)
2008 u1.addresses.remove(a1)
2009
2010 self._assert_history(u1, ([], [], []))
2011
2012 def test_backref_pop_transient(self, transient_fixture):
2013 u1, a1 = transient_fixture(addresses_args={"backref": "user"})

Callers

nothing calls this directly

Calls 3

_assert_historyMethod · 0.95
addMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected