def no_backend(test_func, backend):
    if settings.DATABASES[DEFAULT_DB_ALIAS]['ENGINE'].rsplit('.')[-1] == backend:
        return pass_test
    else:
        return test_func

# Decorators to disable entire test functions for specific
# spatial backends.
Save Page to database
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/tests/utils.py/no_backend--crossover with--dataset/ETHPy150Open jkossen/imposter/admin.py/save_page