Skip to content

Commit

Permalink
[TEST][PR5] Implementing test infra (#1797)
Browse files Browse the repository at this point in the history
Details:
* Remove several `rum_*_pipeline`
* Replace several `run_*_pipeline_and_compare` by one method
* Remove `common.py`

Tickets:
* [159925](https://jira.devtools.intel.com/browse/CVS-159925)

MERGE AFTER:
* #1691
* #1702
* #1718
* #1722
  • Loading branch information
iefode authored Feb 27, 2025
1 parent 4316379 commit e94089e
Show file tree
Hide file tree
Showing 8 changed files with 152 additions and 322 deletions.
129 changes: 0 additions & 129 deletions tests/python_tests/common.py

This file was deleted.

21 changes: 21 additions & 0 deletions tests/python_tests/data/test_dataset.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

from typing import Tuple, List
from openvino_genai import GenerationConfig
from utils.generation_config import get_greedy, get_beam_search

def get_test_dataset() -> Tuple[List[str], List[GenerationConfig]]:
prompts = [
"What is OpenVINO?",
"How are you?",
"What is your name?",
"Tell me something about Canada"
]
generation_configs = [
get_greedy(),
get_beam_search(),
get_greedy(),
get_beam_search(),
]
return (prompts, generation_configs)
160 changes: 0 additions & 160 deletions tests/python_tests/ov_genai_test_utils.py

This file was deleted.

Loading

0 comments on commit e94089e

Please sign in to comment.