Skip to main content

skipUnlessDBFeature

Skip a test unless a database has all the named features.

def skipUnlessDBFeature(
*features: string
) - > function

Skip a test unless a database has all the named features.

Parameters

NameTypeDescription
*featuresstringOne or more database feature names to check against the current connection features

Returns

TypeDescription
functionA decorator that conditionally skips the decorated test case based on database feature support