def test_invalid_type(self):
        with testutils.LogSnatcher('cloudbaseinit.plugins.common.'
                                   'userdataplugins.cloudconfig') as snatcher:
            self.plugin.process_non_multipart({'unsupported'})

        expected = ["Invalid yaml stream provided.",
                    set % "Could not process the type %r"]
        self.assertEqual(expected, snatcher.output)
dataset/ETHPy150Open openstack/cloudbase-init/cloudbaseinit/tests/plugins/common/userdataplugins/test_cloudconfig.py/CloudConfigPluginTests.test_invalid_type/swapped operands of `%`