    def test_embedding_nonexistent_model(self):
        """
        target: test embedding for invalid scenario
        method:  embedding with nonexistent pipeline model
        expected: raise exception
        """
        emb_conf = AutoConfig.load_config(pipeline_name)
        try:
            emb_conf.model = 'clip1000'
            AutoPipes.pipeline(pipeline_name, emb_conf)
        except RuntimeError as e:
            assert 'failed' in str(e)
        except KeyError as k:
            assert 'clip1000' in str(k)
        return True
target: test embedding for invalid scenario
method:  embedding with nonexistent pipeline model
expected: raise exception
tests/testcases/test_image_embedding.py