Skip to content

Fix cond comp artifacts path#4200

Merged
asomsiko merged 1 commit intoopenvinotoolkit:masterfrom
asomsiko:fix_cc_artifacts
Feb 8, 2021
Merged

Fix cond comp artifacts path#4200
asomsiko merged 1 commit intoopenvinotoolkit:masterfrom
asomsiko:fix_cc_artifacts

Conversation

@asomsiko
Copy link
Copy Markdown
Contributor

@asomsiko asomsiko commented Feb 5, 2021

No description provided.

@asomsiko asomsiko requested review from a team and vurusovs February 5, 2021 10:18
@openvino-pushbot openvino-pushbot added the category: IE Tests OpenVINO Test: plugins and common label Feb 5, 2021
params.append(pytest.param(Path(expand_env_vars(model_path)), **extra_args))
ids = ids + [model_path]
metafunc.parametrize("model", params, ids=ids)
test_id = model_path.replace('$', '').replace('{', '').replace('}', '')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use re.sub for such replacements

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace() is faster and straight forward

@asomsiko asomsiko merged commit db065d5 into openvinotoolkit:master Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: IE Tests OpenVINO Test: plugins and common

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants