def setUp(self): """ set up everything for a test case """ self.config = testing.setUp() self.config.include('pyramid_mailer.testing') DBSession.remove() self.session = _initTestingDB()
def tearDown(self): DBSession.remove() testing.tearDown()
def setUp(self): self.config = testing.setUp() DBSession.remove() self.session = _initTestingDB()
def tearDown(self): """ clean up after a test case """ DBSession.remove() testing.tearDown()
def setUp(self): self.config = testing.setUp() self.config.include('pyramid_mailer.testing') DBSession.remove() self.session = _initTestingDB()
def tearDown(self): # maybe I need to check and remove globals here, # so the other tests are not compromised #del engine from c3sintent.models import DBSession DBSession.remove()
def tearDown(self): DBSession.remove() testing.tearDown()
def setUp(self): self.config = testing.setUp() self.config.include('pyramid_mailer.testing') DBSession.remove() self.session = _initTestingDB()
def setUp(self): self.config = testing.setUp() DBSession.remove() self.session = _initTestingDB()
def tearDown(self): """ clean up after a test case """ DBSession.remove() testing.tearDown()
def tearDown(self): # maybe I need to check and remove globals here, # so the other tests are not compromised #del engine from c3sintent.models import DBSession DBSession.remove()