def skipUnlessDBFeature(feature):
    return _deferredSkip(lambda: not getattr(connection.features, feature),
                         "Database doesn't support feature %s" % feature)
Skip a test unless a database has the named feature
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/testcases.py/skipUnlessDBFeature