Oh.. Yes, sorry. That's my mistake, because testing engine created
MyISAM tables (they were default) and it broke the tests.
Thanks!
On May 7, 12:39 am, "Michael Bayer" wrote:
> are you using MyISAM tables ?
>
> naktinis wrote:
>
> > I have a session created this way:
> > Session = scoped_sessi
are you using MyISAM tables ?
naktinis wrote:
>
> I have a session created this way:
> Session = scoped_session(sessionmaker(autoflush=True,
> transactional=True))
>
> Then I have this piece of code:
> print User.query().count()
> u = User(name='Jim')
> Session.flush([u])
> print User.query().cou