def after_all(context): context.server.shutdown() context.thread.join() db.session.remove() drop_db(use_migrations) if getattr(settings, 'MEMCACHE_MECHANISM', False) is True: from google.appengine.api import memcache from google.appengine.ext import testbed context.testbed.deactivate()
def after_all(context): context.server.shutdown() context.thread.join() db.session.remove() drop_db(use_migrations)
def tearDown(self): db.session.remove() drop_db(use_migrations, quiet=True)