Exemplo n.º 1
0
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()
Exemplo n.º 2
0
def after_all(context):
  context.server.shutdown()
  context.thread.join()
  db.session.remove()
  drop_db(use_migrations)
Exemplo n.º 3
0
 def tearDown(self):
   db.session.remove()
   drop_db(use_migrations, quiet=True)
Exemplo n.º 4
0
def after_all(context):
  context.server.shutdown()
  context.thread.join()
  db.session.remove()
  drop_db(use_migrations)
Exemplo n.º 5
0
 def tearDown(self):
     db.session.remove()
     drop_db(use_migrations, quiet=True)