def METHOD_NAME(self):
    config = {
        'framework': 'g-api',
        'model': 'model.xml',
        'weights': 'weights.bin',
        # 'device': 'not_device',
        'adapter': 'classification',
        'inputs': [{'name': 'data', 'type': 'INPUT'}],
        'outputs': ['out']
    }
    with pytest.raises(ConfigError):
        create_launcher(config)