Here are the examples of the python api sqlalchemy.orm.close_all_sessions taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
0
View Complete Implementation : tests.py
Copyright BSD 3-Clause "New" or "Revised" License
Author : remram44
Copyright BSD 3-Clause "New" or "Revised" License
Author : remram44
def tearDown(self):
close_all_sessions()
engine = create_engine(DATABASE_URI)
database.Base.metadata.drop_all(bind=engine)