@classmethod
    def setUpClass(cls):
        DBSession.remove()
        DBSession.configure(extension=None)
set up the test in class level
dataset/ETHPy150Open eoyilmaz/anima/tests/env/test_environmentBase.py/EnvironmentBaseTestCase.setUpClass