Skip to content

Commit 1a3e61e

Browse files
committed
adding cleanup function. tests randomly failing in travis
1 parent 2a0aa31 commit 1a3e61e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_odm2/test_odm2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def fin():
6060
del dbConn.odmcreate
6161
del dbConn.odmupdate
6262
del dbConn.odmdelete
63+
session_factory.engine.dispose()
64+
session_factory.test_engine.dispose()
6365

6466
request.addfinalizer(fin)
6567

0 commit comments

Comments
 (0)