Skip to main content

skipUnlessAnyDBFeature

Skip a test unless a database has any of the named features.

def skipUnlessAnyDBFeature(
*features: string
) - > function

Skip a test unless a database has any of the named features.

Parameters

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

Returns

TypeDescription
functionA decorator that conditionally skips the test case based on database feature availability.