-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[ROS][Test Infra] Support testing ROS2 service call device_info #3124
[ROS][Test Infra] Support testing ROS2 service call device_info #3124
Conversation
pytest.param(test_params_test_srv_d415, marks=pytest.mark.d415), | ||
],indirect=True) | ||
@pytest.mark.launch(fixture=launch_descr_with_parameters) | ||
class TestCamera_ServiceCall(pytest_rs_utils.RsTestBaseClass): |
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.
this test only uses DeviceInfo service call. So, shall we rename this function and file names such that it is specific to DeviceInfo service.
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.
Yes, thought of it already - There are 8 service calls available. Plan is to have rest seven of them be added here in this file, so no need of changing the file name as of now. And, about changing the function name, yes/maybe -- to be addressed when implementing rest of the service calls. This is kind of placeholder test for validating service calls.
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.
got it, each test will carry distinct function name and distinct class name as well, right? Modified both class and function names.
ba85807
to
5c298f7
Compare
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.
LGTM.
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.
LGTM, but don't we prefer to rename the file name to device info service ? or we want to add all services tests in the future in the same file ?
We want to add all other services in the same file, Yes. |
f8a054c
into
IntelRealSense:ros2-development
Implementation of JIRA ticket req: [LRS-1122]