MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_basic

Method test_basic

test/ext/test_mutable.py:1747–1756  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1745 )
1746
1747 def test_basic(self):
1748 sess = fixture_session()
1749 f1 = Foo(data=Point(3, 4))
1750 sess.add(f1)
1751 sess.flush()
1752 f1.data.x = 5
1753 sess.commit()
1754
1755 # we didn't get the change.
1756 eq_(f1.data.x, 3)
1757
1758
1759class MutableCompositeCustomCoerceTest(

Callers

nothing calls this directly

Calls 7

fixture_sessionFunction · 0.90
eq_Function · 0.90
FooClass · 0.70
PointClass · 0.70
addMethod · 0.45
flushMethod · 0.45
commitMethod · 0.45

Tested by

no test coverage detected