Esempio n. 1
0
 def tearDown(self):
     if clusto.SESSION.is_active:
         raise Exception("SESSION IS STILL ACTIVE in %s" % str(self.__class__))
     
     clusto.clear()
     clusto.disconnect()
     clusto.METADATA.drop_all(clusto.SESSION.bind)
Esempio n. 2
0
    def tearDown(self):
        if clusto.SESSION.is_active:
            raise Exception("SESSION IS STILL ACTIVE in %s" % str(self.__class__))

        clusto.clear()
        clusto.disconnect()
        clusto.METADATA.drop_all(clusto.SESSION.bind)