Thanks! engine.dispose() worked fine and that page helped me a lot. I did not know about pyramid-sqlalchemy. I even implemented automatic transaction handling based on those described by it. Anyone want to use py.test with pyramid I recommend at least reading pyramid-sqlalchemy documentation! Thanks again!
---- Walkman On 2014. július 22. at 19:14:53, Wichert Akkerman ([email protected]) wrote: You may need to explicitly dispose of the engine. I would recommend to look at the pytest section of the pyramid_sqlalchemy documentation: https://pyramid-sqlalchemy.readthedocs.org/en/latest/tests.html#py-test-fixtures . That describes in detail how you can setup pytest fixtures for SQLAlchemy, and use this with functional tests of a Pyramid application. Wichert. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
