-
Notifications
You must be signed in to change notification settings - Fork 237
CVS-169508_enable_ovms_functional_tests #3914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the functional test suite for OpenVINO Model Server (OVMS) to prepare for changes in the testing flow. The changes include removing redundant tests, updating import statements to use absolute paths, and removing support for deprecated target devices.
Changes:
- Updated all import statements across test files to use fully qualified paths (e.g.,
from config→from tests.functional.config) - Removed several test files for redundant test scenarios (batching, mapping, multi-models, update flows, and specific model types)
- Removed support for MYRIAD, HDDL, and CUDA target devices, consolidating to CPU, GPU, and NPU
- Added new helper functions and pytest markers for test organization
Reviewed changes
Copilot reviewed 43 out of 47 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/functional/utils/*.py | Updated imports to use absolute paths from tests.functional namespace |
| tests/functional/test_*.py | Removed redundant test files and updated remaining tests with new imports and device constraints |
| tests/functional/object_model/*.py | Updated imports to use absolute paths |
| tests/functional/fixtures/*.py | Updated imports and fixture dependencies to use absolute paths |
| tests/functional/constants/*.py | Introduced TargetDevice class to replace string constants, removed deprecated device types |
| tests/functional/config.py | Updated to use new TargetDevice class and removed deprecated device timeout configurations |
| tests/functional/conftest.py | Restructured pytest plugin loading and moved fixtures to separate file |
| Makefile | Changed virtualenv creation from python3 -m virtualenv to python3 -m venv |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
a14d39f to
76e53d7
Compare
76e53d7 to
777633e
Compare
porlows1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
🛠 Summary
CVS-169508
Changes:
🧪 Checklist
``