def test_evt_on_flush_refresh(self):
        # test for #3427

        sess = Session()

        f1 = Foo()
        sess.add(f1)
        sess.flush()
        assert isinstance(f1.data, self._type_fixture())
        assert f1 not in sess.dirty
        f1.data['foo'] = 'bar'
        assert f1 in sess.dirty
dataset/ETHPy150Open zzzeek/sqlalchemy/test/ext/test_mutable.py/MutableColumnDefaultTest.test_evt_on_flush_refresh/original