|
13 | 13 | from tests.test_suite.e2e_test_system import e2e_pytest_component
|
14 | 14 | from tests.test_suite.run_test_command import (
|
15 | 15 | get_template_dir,
|
| 16 | + otx_deploy_openvino_testing, |
| 17 | + otx_eval_deployment_testing, |
16 | 18 | otx_eval_openvino_testing,
|
17 | 19 | otx_eval_testing,
|
18 | 20 | otx_export_testing,
|
@@ -104,3 +106,17 @@ def test_otx_export_onnx(self, template, tmp_dir_path):
|
104 | 106 | def test_otx_eval_openvino(self, template, tmp_dir_path, half_precision):
|
105 | 107 | tmp_dir_path = tmp_dir_path / "visual_prompting"
|
106 | 108 | otx_eval_openvino_testing(template, tmp_dir_path, otx_dir, args, threshold=1.0, half_precision=half_precision)
|
| 109 | + |
| 110 | + @e2e_pytest_component |
| 111 | + @pytest.mark.skip("demo.py is not supported.") |
| 112 | + @pytest.mark.parametrize("template", templates, ids=templates_ids) |
| 113 | + def test_otx_deploy_openvino(self, template, tmp_dir_path): |
| 114 | + tmp_dir_path = tmp_dir_path / "visual_prompting" |
| 115 | + otx_deploy_openvino_testing(template, tmp_dir_path, otx_dir, args) |
| 116 | + |
| 117 | + @e2e_pytest_component |
| 118 | + @pytest.mark.skip("openvino.zip is not created because `otx_deploy_openvino_testing` is not executed.") |
| 119 | + @pytest.mark.parametrize("template", templates, ids=templates_ids) |
| 120 | + def test_otx_eval_deployment(self, template, tmp_dir_path): |
| 121 | + tmp_dir_path = tmp_dir_path / "visual_prompting" |
| 122 | + otx_eval_deployment_testing(template, tmp_dir_path, otx_dir, args, threshold=1.0) |
0 commit comments