def tearDownModule():
 global ENGINE
 global SESSION
 ENGINE.dispose()
 ENGINE = None
 SESSION = None

def tearDownModule ( ) : global ENGINE global SESSION ENGINE . dispose ( ) ENGINE = None SESSION = None
close database .