def METHOD_NAME(self):
    with self.assertRaisesRegex(
            TypeError,
            'Components must be instantiated using keyword arguments.'
            r' Positional parameters are not allowed \(found 3 such'
            r' parameters for component "component-1"\).'):
        component_op('abc', 1, 2.3)